d.crysty23 Posted February 21, 2014 Share Posted February 21, 2014 I want 2 things, which I don't know how to solve. I want to move the "add to cart" button and the quantity field above the description; and I want to be a space between quantity and add to cart. I've attached an image to explain better. You have the link below http://www.3bwine.com/CRISTY/prestashop/index.php?id_product=1&controller=product THANKS Link to comment Share on other sites More sharing options...
vekia Posted February 21, 2014 Share Posted February 21, 2014 but where you want to move this elements? you can do everything in product.tpl and with css styles. Link to comment Share on other sites More sharing options...
d.crysty23 Posted February 21, 2014 Author Share Posted February 21, 2014 I've tried to modify product.tpl in order to "lift" the code for the button and quantity, but I didn't succeed I'm referring to this code <div class="proba"> <p id="add_to_cart" {if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}style="display:none"{/if} class="buttons_bottom_block"> <!--<span></span>!--> <input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /> </p> <p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> <label>{l s='Quantity:'}</label> <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}" size="2" maxlength="3" {if $product->minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> </p> </div> Link to comment Share on other sites More sharing options...
Recommended Posts