how to creating custom product templates
I already have 2 custom product templates, and want to add a new one. Where do I do this?
I'm not talking about Category templates, I know how to add those. |
Re: how to creating custom product templates
Are you talking about a new template for all products, or a template for a specific product?
|
Re: how to creating custom product templates
I've changed the products.tpl, now I need to change the product.tpl (the product detail page for a single category only, so I need to upload a new custom product.tpl)
|
Re: how to creating custom product templates
Quote:
The product.tpl, is for each product, not the products in a category, that would be products.tpl, or products_t.tpl depending on if you have the items listed single file or spread across the page. For the product.tpl, just give it a different name. Copy product.tpl to product-custom.tpl (or whatever name you want), make your changes, and call it from your "custom" products.tpl. |
Re: how to creating custom product templates
OK, so I understand the process, but can't get the custom template to show up in the dropdown box to choose a "custom product template" on the details page for editing a single product.
|
Re: how to creating custom product templates
What dropdoen box are you talking about? Your custom product template would be the default for any product called from your custom products template.
Here is how I understand the templates work.. product.tpl is the template for each individual product. products.tpl is the template for items in the category, listed single file. products_t.tpl is the template used to display all products in the categories if the checkbox for "Display only featured products list in multicolumn format:" is unchecked. categories.tpl is the template for the side menu categories listing. |
Re: how to creating custom product templates
On the product details page (when editing a product within x-cart admin) there is a dropdown to choose from, and I can choose from default, or two other templates that were created. I'm trying to add to this option.
Quote:
My "Custom Product Template" dropdown box is located at the very bottom of my product details page between "Apply Global Discounts" and "Reward Points" |
Re: how to creating custom product templates
What you are describing is not included with x-cart. It sounds like a "theme-switching" mod of some sort.
|
Re: how to creating custom product templates
It's a "Custom Product Template" modification. and trying to figure out how to work with it still.
|
Re: how to creating custom product templates
We offer this as an x-cart mod:
http://www.websitecm.com/x-cart-mods/multiple-product-templates.html |
All times are GMT -8. The time now is 03:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.