| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
What does the product_type field do? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I'm editing my products.tpl file because it's not showing the "show details" button, and I notice the following:
Code:
So my question is, why is the template set to hide the "show details" button when the product_type is "C"? What does prodcut_type of "C" stand for? It seems like it should mean "customer", but I don't know for sure, so I'm not sure if I should just remove the "if" statement and show the button for everyone or not. Please advise.
__________________
www.brettbrewer.com Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Ahhh...that makes sense. It seemed like there were lots of new conditionals in the templates that were set to display only if the $product.product_type != "C". I bet that stands for "configurable". The default value is "N" which probably means "normal". Of course, I speak english and the programmers speak...uh...Russian I guess, so there's no telling for sure.
__________________
www.brettbrewer.com Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more. |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|