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)
-   -   Access to product extra field data in cart and new arrivals (https://forum.x-cart.com/showthread.php?t=65707)

tartaglia 12-21-2012 10:26 PM

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.

drheath 05-22-2013 01:55 PM

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} 


tartaglia 05-23-2013 02:24 PM

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.

fiberglass.supply 06-29-2013 09:21 AM

Re: Access to product extra field data in cart and new arrivals
 
Well I needed this to, how much did they charge you?


All times are GMT -8. The time now is 05:02 AM.

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