| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Buy Now & Wishlist Buttons - Main Prod Template | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
4.5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
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"}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
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?
__________________
4.5.4 |
|||||||
#4
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||
|
|||||||
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?
__________________
4.5.4 |
|||||||
#6
|
|||||||||
|
|||||||||
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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||
|
|||||||
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.
__________________
4.5.4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|