| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding buy now on thumbnails product listing | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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
__________________
Versions 4.7.6 multiple mods and customizations |
|||||||||
#2
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() excellent, thank you!
Connie
__________________
Versions 4.7.6 multiple mods and customizations |
|||||||||
|
|||
X-Cart forums © 2001-2020
|