Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

$Product Object Documentation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-22-2012, 07:31 PM
 
scribler scribler is offline
 

Newbie
  
Join Date: Feb 2012
Posts: 1
 

Default $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?
__________________
X-Cart 4.1.8
Add-ons:
X-AOM
X-SpecialOffers
Reply With Quote
  #2  
Old 03-22-2012, 08:31 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-23-2012, 08:30 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default 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.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:58 AM.

   

 
X-Cart forums © 2001-2020