How To Show Add To Cart Button On Category

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

add to cart.png

[quote name='katemat0000' timestamp='1397480547' post='181694']

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

[/quote]



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

this works, thanks

[quote name='netikon' timestamp='1403705446' post='186437']

this works, thanks

[/quote]



You are welcome!

Hello



[color=#282828][font=arial, verdana, tahoma, sans-serif]CS CART [/font][/color]4.2.3 code ? / address ?



Thanks

[quote name='eComLabs' timestamp='1397657052' post='181810']

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

[/quote]



Will this command work on the responsive theme as well

[quote name='RAVINDRAN' timestamp='1423522185' post='204773']

Will this command work on the responsive theme as well

[/quote]



Yes, it should work

in 4.3.1 ? what is the code ?

[quote name='fiberit' timestamp='1432376421' post='215489']

in 4.3.1 ? what is the code ?

[/quote]



This code should work also with 4.3.1. Please try

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?

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}

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

and for last version 4.5.2 ?

and for last version 4.5.2 ?

Try, it should work with 4.5.2

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

?

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.

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

hide add to cart.png

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

On 4.9.2 sp3

i know i change somewhere and i add ADD TO CART to grid... to mobile version... but i forgot where

But button still not display on these pages

..............?dispatch=products.newest

...............dispatch=products.on_sale

Know where i must to change these to ?

On desktop apears ...but not on mobile version