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

Access to product extra field data in cart and new arrivals

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-21-2012, 10:26 PM
 
tartaglia tartaglia is offline
 

X-Adept
  
Join Date: May 2006
Location: Dallas, TX
Posts: 575
 

Default Access to product extra field data in cart and new arrivals

The search for help continues...

I've figured out how to display product extra field data while browsing the catalog, in search results listings and on invoices ( see post http://forum.x-cart.com/showthread.php?t=47812) and I've shared to help others.

But...what I really need is to be able to display product extra field data for products in the cart. My investigation tells my that the extra field array just isn't available when the regular product data is displayed in the cart. This is also I fear the problem on the new arrivals page, and maybe others where products are listed (on sale, wish list, etc I haven't checked these yet). The cart listing is VERY important because it is the last place where a customer looks to confirm they have the exact products they want before going to checkout. Sometime the data in the extra fields can be what differentiates two similarly named products.

So, someone, please help me figure out how to expose the product extra field data where it isn't currently available. Thanks.
__________________
David Coggan
Carolyn Nussbaum Music Company
X-Cart v4.5.4 Gold +
LiteCommerce v2.2.41 (previous 6 years)
Reply With Quote
  #2  
Old 05-22-2013, 01:55 PM
  drheath's Avatar 
drheath drheath is offline
 

Advanced Member
  
Join Date: Nov 2010
Location: Wisconsin
Posts: 53
 

Default Re: Access to product extra field data in cart and new arrivals

Did you have any luck figuring this out? I'm looking for a similar solution to display a message based on if cart contents had an extra field value. I have the basic idea, but I'm not sure how to call the extra field array. Any thoughts?

PHP Code:
{if $extra_fields.11.field_value ne ""
<
span>{$lng.lbl_haz_prod}</span>
{/if} 
__________________
Business Edition 5.2.10
Gold Plus 4.6.1
Reply With Quote
  #3  
Old 05-23-2013, 02:24 PM
 
tartaglia tartaglia is offline
 

X-Adept
  
Join Date: May 2006
Location: Dallas, TX
Posts: 575
 

Default Re: Access to product extra field data in cart and new arrivals

Dr., I ended up having Qualiteam code this for me. It was not a simple change (several files affected if I recall) but something they did fairly easily. I don't really understand the changes they made, so I guess I would point you to them to just "git er done" and move on. Works well now. Good luck.
__________________
David Coggan
Carolyn Nussbaum Music Company
X-Cart v4.5.4 Gold +
LiteCommerce v2.2.41 (previous 6 years)
Reply With Quote
  #4  
Old 06-29-2013, 09:21 AM
 
fiberglass.supply fiberglass.supply is offline
 

Senior Member
  
Join Date: Dec 2012
Location: Florida
Posts: 171
 

Default Re: Access to product extra field data in cart and new arrivals

Well I needed this to, how much did they charge you?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:11 AM.

   

 
X-Cart forums © 2001-2020