Move Add To Cart Button Beside The Qty Selector

Hi,



Anyone who have any idea on how to move the “add to cart button” in product details page? I want to place it beside the quantity selector. I am using cscart V4.1.2.



-Dennis

[quote name='euroworkerweb' timestamp='1394805691' post='179291']

Hi,



Anyone who have any idea on how to move the “add to cart button” in product details page? I want to place it beside the quantity selector. I am using cscart V4.1.2.



-Dennis

[/quote]

Have a look at this thread How To Create My Change File For Product Page Template - Hints & Modifications - CS-Cart Community Forums



This will show you how to create a new product template, you can then go into one of your products and assign it to that product and make changes. I don't know the exact edit needed to get the elements the way you want.

Alan

Hi Dennis,



Please open the following file


design/themes/basic/templates/blocks/product_templates/default_template.tpl





This part of code shows the “Add to cart” button:



{assign var="add_to_cart" value="add_to_cart_`$obj_id`"}
{$smarty.capture.$add_to_cart nofilter}




And this one displays qty selector:



{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty nofilter}




Hope it will help.