![]() |
Adding Buy Now & Wishlist Buttons - Main Prod Template
I am trying to dig up where these would have been commented out in my customer/main/products_t.tpl; however there is no commenting out of any kind - they appear to be missing altogether.
What code do I need to add these again and where in the template would it go? I have tried to search the forums for the code but haven't been successful as of yet. Thanks. |
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
X-cart 4.2.2
/customer/main/products_t.tpl PHP Code:
{include file="customer/main/buy_now.tpl"} |
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
excellent work! thanks.
now to remove the quantities and modify a bit more. assuming that to remove qtys it requires the buy_now.tpl? |
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
Yes the quantity input is controlled by the buy now template. Just remove the input boxes/selects and replace with : <input type="hidden" name="amount" value="1" /> or whatever amount value you want to default to.
|
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
i think i edited a bit too much because only the first row of products would work correctly in the add to wish list..
this is the my original shortened a bit at the top... Quote:
and the modified Quote:
did i get that right this time? |
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
Honestly it's too much to read through and figure out at the moment. If it only works on the first row, you know you have messed up the association between rows. In this case you always refer to your backups, which I realize you may not have.
I would download a fresh copy of 4.2.2, if it is not available in your helpdesk, request it from QT. Then start over with a renewed respect for the template's structure. Hope that helps, best I could muster. :-) |
Re: Adding Buy Now & Wishlist Buttons - Main Prod Template
thanks! i may have also been delete happy. i will refresh and try again. always try to keep backups filed away.
|
All times are GMT -8. The time now is 02:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.