| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
how to creating custom product templates | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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.
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Are you talking about a new template for all products, or a template for a specific product?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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)
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() 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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() 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.
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() 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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() 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"
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() What you are describing is not included with x-cart. It sounds like a "theme-switching" mod of some sort.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() It's a "Custom Product Template" modification. and trying to figure out how to work with it still.
__________________
X Cart Ver: 4.0.14 MySQL4 4.1.22 phpMyAdmin 2.6.0 Pearl 5.6.0 PHP 5.2.1 Python 2.2.2 Server: Apache/2.0.52 (Red Hat) OS: Linux www.cleanlinesurf.com 1. Customer Rewards Points 2. One Page Checkout (altercart) 3. Free shipping orders over $50 as Real Time Shipping 4. Gift Certificates ----------------------------------------------- Graphic Design | Boomobile Design, LLC www.boomobile.com |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() We offer this as an x-cart mod:
http://www.websitecm.com/x-cart-mods/multiple-product-templates.html |
|||||||||
|
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|