| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Products.tpl - What is safe to get rid of? | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Ok I've sorted it out now. I'm using multiple templates for both products and catergories. Here is the products_t.tpl I played around with below just in case it's at all useful to anybody else and a little screen shot of how it renders.
http://www.wyzeshop.com/screenshot5.jpg Quote:
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#12
|
|||||||
|
|||||||
Zaja,
The code you so generously supplied is working like a charm, again thank you so much. But I have a little problem with it that I can't figure out. I'm sure it's a simple one - well I hope it's a simple one The 'add to cart' button displays in product listings even if the item is out of stock. Is there a simple fix for this? Cheers, G Quote:
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#13
|
|||||||||
|
|||||||||
Try to replace:
Code:
Code:
|
|||||||||
#14
|
|||||||
|
|||||||
Quote:
Oooppps! Now everything is out of stock?
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#16
|
|||||||
|
|||||||
Nope still out of stock?
Just in case i'm being a spaz here is my products_t.tpl Quote:
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#18
|
|||||||
|
|||||||
You are officially THE man!
It be workin' harder than a $5 hooker... Thanks so much bro
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
#20
|
|||||||
|
|||||||
I don't wanna take the piss but would you also know the code for placing a form button that is linked to 'show product details'?
As i'm using custom templates I have different things set up all over the place. I'm having a problem as everything that is searched for displays using the same template containing the 'add to cart' button when some products require the customer to select options before hitting the buy button. I just want to replace the 'add to cart' button with a 'show details' button for the cat listings pulled from a search.
__________________
X-Cart version : 4.0.18 Mod : Customer Also Bought Mod : Custom catergory Templates Mod : Custon Product Templates |
|||||||
|
|||
X-Cart forums © 2001-2020
|