X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   What does the product_type field do? (https://forum.x-cart.com/showthread.php?t=7246)

minorgod 04-21-2004 12:25 PM

What does the product_type field do?
 
I'm editing my products.tpl file because it's not showing the "show details" button, and I notice the following:

Code:

{if $products[product].product_type eq "C"}
<font class="FormButton">{$lng.lbl_details} {include file="buttons/go.tpl"}</font>
{/if }


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.

B00MER 04-21-2004 01:00 PM

If im not mistaken its for product configurator add-on offered by the x-cart guys, but don't quote me on it. :?

minorgod 04-21-2004 01:48 PM

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.


All times are GMT -8. The time now is 01:47 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.