Jump to content

 

kimkwangsuk71

Member Since 12 Mar 2018
Offline Last Active Dec 04 2018 12:42 AM
-----

Posts I've Made

In Topic: Vivashop - Your Ultimate Responsive Cs-Cart Theme

04 December 2018 - 12:43 AM

 
Dear kimkwangsuk71,
 
All these buttons and functionalities are part of the CS-Cart core code and default CS-Cart addons. There is no setting to disable them specifically on the category page. So you can only globally disable them by adjusting the following CS-Cart settings and CS-Cart core addons from your admin interface:
 
To disable the "Add to cart" button, you need to navigate to the Add-ons - Manage Add-ons section then install and activate the "Catalog mode" addon.
 
To disable the "Add to wishlist" button, you need to navigate to the Add-ons - Manage Add-ons section and disable the "Wish list" addon.
 
To disable the "Add to comparison list" you need to navigate to the Settings - General section uncheck the "Allow customers to compare products" option.
 
Alternatively, if you only want to hide the buttons on the category page, you may add this Custom CSS rule to your store by following these steps:
 
1. Log into your admin interface and go to Design - Themes
 
2. Click the blue Theme Editor button
 
3. On the left hand side under CUSTOMIZE please choose the last option Custom CSS from the dropdown. Now copy/paste this code:
 

.vs-grid .vs-buttons,
.vs-list .vs-qty-buttons,
.ty-compact-list__controls{
 display: none;
}
 
4. Click the blue Save button of the Theme editor.
 
Note that the area allocated to display the buttons also displays the product rating so the height will remain the same after you hide the buttons. If you want to also hide the product rating, you may add the following CSS rule as described above:
 
.vs-grid .rating-buttons{
 display: none;
}
  
 
Kind regards,
EnergoThemes
www.energothemes.com

 

 

 

Thanks that css modification worked perfectly.


In Topic: Vivashop - Your Ultimate Responsive Cs-Cart Theme

03 December 2018 - 01:05 AM

how to disable add to cart, add to comparison list and add to wishlist icon buttons on the product category page?

 

It seems there's no function on vivashop theme to disable these.


In Topic: User Company Name Display Modification

17 October 2018 - 09:19 AM

When you print company name, use just {$company_name}, not {$udata.company_name}

 

That didn't work for me so I just used main profile company name by using this code: {$udata.company}

 

Thanks for all of your help.


In Topic: User Company Name Display Modification

17 October 2018 - 08:29 AM

 

Hello!

 

Please try

{$company_name = $udata.company_id|fn_get_company_name}

 

I tried to do this way but it isn't working for me:

 

{$company_name = $udata.company_id|fn_get_company_name}{$udata.b_company} 

 

or

 

{$company_name = $udata.company_id|fn_get_company_name}{$udata.company_name}

 

Am I doing it right?


In Topic: User Company Name Display Modification

17 October 2018 - 07:12 AM

Please try

{$udata = $auth.user_id|fn_get_user_info}
{$udata|fn_print_r}
Second line will print received data. You should remove it later

 

 

Thanks... I got it working by changing the format to:

 

{$udata = $auth.user_id|fn_get_user_info}{$udata.b_address}<br />{$udata.b_city}, {$udata.b_state_descr}<br />{$udata.b_zipcode}

 

Just one more question: how do I retrieve the company name?

 

I tried to use {$udata.b_company} but no luck.