| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Add variants to products page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Add variants to products page
How can I add my product variants to the products page. When you create a variant it only appears in the details.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#2
|
|||||||
|
|||||||
No one has any ideas on this.
If I comment out this code in the product.tpl my variants go away so I know this is the code that I'm looking for. Code: {if $active_modules.Product_Options ne ""} { include file="modules/Product_Options/customer_options.tpl"} {/if} I think I need to put it in the products.tpl but I've had no luck . Is this the right .tpl to place it in? I want it to show in the products page.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#3
|
|||||||
|
|||||||
Variants
Can you explain a little more what it is you are trying to achieve?
Cheers
__________________
GerryB Xcart 4.0.11 ____________ Remember not to forget that which you do not need to know. |
|||||||
#4
|
|||||||
|
|||||||
I believe he wants the product options to show up on the products page in addition to the product detail page....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Yes.
I apologize for not using the correct term. That is exactly what I'm trying to achieve.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#6
|
|||||||
|
|||||||
Products
Yes, thats where the fields should be placed. How much detail do you want to show in this area. Back your system up fully before making any change so that you have a point to restart from in case you get into trouble. Try experimenting with 1 field at a time.
Cheers
__________________
GerryB Xcart 4.0.11 ____________ Remember not to forget that which you do not need to know. |
|||||||
#7
|
|||||||
|
|||||||
Quote:
I've had no luck with this. Am I forgetting some tags before or after this code? I imagine this is fairly simple. Thanks
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#8
|
|||||||
|
|||||||
It is not as simple as it looks, you can't just call the product options template because that template is written to be part of the product.tpl page. You would have to make a copy of customer_options.tpl and edit the code to be specific to the productS array instead of the product page.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
Quote:
OK that answers some of my questions like why I haven't been able to get any were with this and why no one has been able to simply say put this code here. Thanks for the help. I think I'll save this for later. Now I can stop pulling my hair out.
__________________
tekmind X-cart 4.0.7 [unix] |
|||||||
#10
|
|||||||
|
|||||||
Extra Details
You need to find the details of each item you wish to display in the product.tpl and copy these into products.tpl.
A safe way to do it is to create a new file called myproducts.tpl copy products.tpl to it, then slowly implement the changes needed. Don't forget to change search.tpl and categories.tpl to now call myproducts.tpl.
__________________
GerryB Xcart 4.0.11 ____________ Remember not to forget that which you do not need to know. |
|||||||
|
|||
X-Cart forums © 2001-2020
|