Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Show Add To Cart Button On Category Rate Topic   - - - - -

 
  • katemat0000
  • Newbie
  • Trial users
  • Join Date: 08-Apr 13
  • 2 posts

Posted 14 April 2014 - 01:02 PM #1

I have CS CART 4.xx, I want to Show Add to Cart Button On Category, Near Quick view

Attached Thumbnails

  • add to cart.png


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 16 April 2014 - 02:04 PM #2

I have CS CART 4.xx, I want to Show Add to Cart Button On Category, Near Quick view


Good day,

Try to open the "design/themes/basic/templates/views/categories/view.tpl" and add this line:

{assign var="show_add_to_cart" value=true}

under this one:

{if $layouts.$selected_layout.template}

P.S. Not tested

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • netikon
  • Newbie
  • Members
  • Join Date: 06-May 14
  • 2 posts

Posted 25 June 2014 - 02:10 PM #3

this works, thanks

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 25 June 2014 - 03:10 PM #4

this works, thanks


You are welcome!

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • istanbul
  • Junior Member
  • Members
  • Join Date: 23-Jan 10
  • 95 posts

Posted 14 November 2014 - 02:28 PM #5

Hello

CS CART 4.2.3 code ? / address ?

Thanks

 
  • RAVINDRAN
  • Advanced Member
  • Members
  • Join Date: 31-Mar 14
  • 85 posts

Posted 09 February 2015 - 10:49 PM #6

Good day,

Try to open the "design/themes/basic/templates/views/categories/view.tpl" and add this line:

{assign var="show_add_to_cart" value=true}

under this one:

{if $layouts.$selected_layout.template}

P.S. Not tested


Will this command work on the responsive theme as well

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 10 February 2015 - 12:27 PM #7

Will this command work on the responsive theme as well


Yes, it should work

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • fiberit
  • Advanced Member
  • Trial users
  • Join Date: 05-Oct 13
  • 58 posts

Posted 23 May 2015 - 10:20 AM #8

in 4.3.1 ? what is the code ?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 25 May 2015 - 08:55 AM #9

in 4.3.1 ? what is the code ?


This code should work also with 4.3.1. Please try

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • ryanphan
  • Newbie
  • Trial users
  • Join Date: 25-Feb 16
  • 4 posts

Posted 30 December 2016 - 05:00 AM #10

I'm using 4.3.7 and this code was not work for me. 

How could i add the buy now button near quick view in 4.3.7?



 
  • istanbul
  • Junior Member
  • Members
  • Join Date: 23-Jan 10
  • 95 posts

Posted 17 February 2017 - 06:31 PM #11

I'm using 4.3.7 and this code was not work for me. 

How could i add the buy now button near quick view in 4.3.7?

 

Good day,

Try to open the "design/themes/basic/templates/views/categories/view.tpl" and add this line:
 

{assign var="show_add_to_cart" value=true}
under this one:

{if $layouts.$selected_layout.template}
P.S. Not tested

 

 

HELLO

 

Test 4.4.2 Works

Attention :

Do not forget !!!
Your theme will be named

 

tasarım / themes /your_theme_name/templates/blocks/list_templates/grid_list.tpl

{Assign var = "show_add_to_cart" value = true}


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 20 February 2017 - 07:17 AM #12

I'm using 4.3.7 and this code was not work for me. 
How could i add the buy now button near quick view in 4.3.7?


- make sure that the correct theme was changes
- delete the var/cache directory manually

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 27 April 2017 - 03:09 PM #13

and for last version 4.5.2 ?


Fabrizio Aureli

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 28 April 2017 - 06:52 AM #14

and for last version 4.5.2 ?

 

Try, it should work with 4.5.2


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • Darius
  • Douchebag
  • Members
  • Join Date: 20-Apr 08
  • 3202 posts

Posted 28 April 2017 - 07:04 AM #15

Why not copy

templates / blocks / product_list_templates / products_multicolumns.tpl

to

templates / addons / my_changes / blocks / product_list_templates / products_multicolumns.tpl

and change

show_add_to_cart=$show_add_to_cart|default:false

to

show_add_to_cart=$show_add_to_cart|default:true

?



 
  • Alt-team
  • CS-Cart Developer
  • Authorized Reseller
  • Join Date: 18-Jan 11
  • 2606 posts

Posted 28 April 2017 - 08:45 AM #16

Also, you can replace the code

show_add_to_cart=$show_add_to_cart|default:false

to 

show_add_to_cart=true

in the file templates/blocks/list_templates/grid_list.tpl

 

It will work with grid view.

 

Override this file in My changes add-on. This case the changes in the code will work after you update the system.


ADD-ONS  |  Web development service  |  Web design  |  Page speed increasing  | Server Optimization

Buy MULTIVENDOR - USD 1250 (14% off)   Buy CS-CART LICENCE - USD 345 (13% off)

 Email - manager@alt-team.com | Skype - Altteam    


 
  • akshay.sharma
  • Advanced Member
  • Members
  • Join Date: 19-Dec 15
  • 107 posts

Posted 31 May 2018 - 11:59 AM #17

Good day,

Try to open the "design/themes/basic/templates/views/categories/view.tpl" and add this line:
 

{assign var="show_add_to_cart" value=true}
under this one:

{if $layouts.$selected_layout.template}
P.S. Not tested

 

 

Hello dear and in 4.3.6 multivendor how we can hide add to cart & select options from all category grid page like attachment? 

 

Thanks in advance

Attached Thumbnails

  • hide add to cart.png


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18160 posts

Posted 20 June 2018 - 07:23 AM #18

Your question is related with 3rd party theme which is used in your store. Please contact theme developers with this question


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.