![]() |
Adding buy now on thumbnails product listing
I want to have the buy now buttons on the 3 across thumbnails, but without the quantity and drop down box.
I tried commenting out the section below. While it removed the drop down, the buy now does not do anything. I am assuming that I would need to change the following: customer/products_t.tpl (comment out buy now button) and customer/main/buy_now.tpl. What and how much can I safely remove (comment out or edit) that will still enable "buy now" button to put one item in the cart? Idea was to simplify buying process for repeat customers without having to go to details. This is the drop down box part in customer/main/buy_now.tpl <select name="select"> {section name=quantity loop=$mq start=$start_quantity} <option value="{%quantity.index%}"{if $smarty.get.quantity eq %quantity.index%} selected="selected"{/if}> {%quantity.index%} </option> {/section} </select> Thank you! Connie |
Re: Adding buy now on thumbnails product listing
You need to add this code in place of the commented out select code:
<input type="hidden" name="amount" value="1" /> That tells the button the quantity should be one. |
Re: Adding buy now on thumbnails product listing
excellent, thank you!
Connie |
All times are GMT -8. The time now is 07:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.