View Single Post
  #5  
Old 05-05-2012, 07:54 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

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

Default Re: Extra field value in products list

Looping through a list does not take much processor power, so I think that either method is fine if it consistently produces the result that you want.

Referencing the value directly is more efficient, but less flexible. If you use a loop, you can check to make sure you have the right value from the loop before executing your code. Either way is going to be fine.
__________________
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