aesselman Posted March 10, 2014 Share Posted March 10, 2014 Attached is an image of where I would like the 'add to cart' button to go. Let me know if anyone has any ideas on the matter. Cheers Link to comment Share on other sites More sharing options...
vekia Posted March 10, 2014 Share Posted March 10, 2014 you have to modify module: productscategory open file productscategory.tpl and add there code with "add to cart" button, {if ($categoryProduct.id_product_attribute == 0 OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND $categoryProduct.available_for_order AND !isset($restricted_country_mode) AND $categoryProduct.minimal_quantity == 1 AND $categoryProduct.customizable != 2 AND !$PS_CATALOG_MODE} {if ($categoryProduct.quantity > 0 OR $categoryProduct.allow_oosp)} <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$categoryProduct.id_product}" href="{$link->getPageLink('cart')|escape:'html'}?qty=1&id_product={$categoryProduct.id_product}&token={$static_token}&add" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a> {else} <span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span> {/if} {else} <div style="height:23px;"></div> {/if} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now