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)
-   -   $Product Object Documentation (https://forum.x-cart.com/showthread.php?t=63054)

scribler 03-22-2012 07:31 PM

$Product Object Documentation
 
Does anyone know where I can find documentation for the fields of the $Product object? Or does anyone know how to get the image from the $Product object?

cflsystems 03-22-2012 08:31 PM

Re: $Product Object Documentation
 
There is no product object, it is an array. Also on different pages it contains different info. Best way to find out use the debug console or just dump the $product array on page load

totaltec 03-23-2012 08:30 AM

Re: $Product Object Documentation
 
Scribler, are you familiar with webmaster mode? If not there is a tutorial page linked in my sig. You could use webmaster mode (debug console as Steve mentioned) to determine the contents of the $product variable.


All times are GMT -8. The time now is 10:14 AM.

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