Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Best way to format TEXT after entry?

Best way to format TEXT after entry?

Locked

Views: 764

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Mar 2009, 1:03 PM
#1
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Best way to format TEXT after entry?

Where might I hook in to format a TEXT attribute after user entry but before they view the cart?

Somewhere during/before the "add to cart" operation.

I'd like to do it while knowledge of the the specific attribute is still handy. I mean I was hoping not to have to just look at the product added and walk through all the attributes again.

However, I'm open to any suggestions?

11 Mar 2009, 2:33 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Best way to format TEXT after entry?

The attribute values are held in a session variable. The place to tweak them if needed would be in the header_php.php file for the shopping cart as that processes the data immediately before displaying it in the cart.

12 Mar 2009, 11:58 AM
#3
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Best way to format TEXT after entry?

That worked, thanks!