New Zenner
- Join Date:
- Aug 2009
- Location:
- Phoenix, Arizona
- Posts:
- 6
- Plugin Contributions:
- 0
Group attributes on order confirmation and order information pages
Hello, I've searched around everywhere but can't quite find anything pertaining to this question. Please direct me if there's a module floating around that can help with what I need to do (Zen 1.3.9h).
I have a store under development with a LOT of attributes for one product. Most of them are grouped, and a lot of them allow multiple checkbox selections per group.
On the order summary during checkout and on the email confirmation, all of the options print out and it looks horrible. For example, let's say I have 30 attributes in 3 groups selected. The confirmation email looks something like this:
Products
1 X Product Cool Duster $999.99
GROUP A: Option 1
GROUP A: Option 2
GROUP A: Option 3
GROUP A: Option 4
GROUP B: Option 2
GROUP B: Option 5
GROUP B: Option 9
GROUP D: Option 1
GROUP E: Option 1
GROUP E: Option 2
GROUP E: Option 3
GROUP E: Option 4
Etc...
I'd rather this listed instead:
GROUP A: Option 1, Option 2, Option 3, Opetion 4
GROUP B: Option 2, Option 5....
I found the code in order.php to start changing this the way I would like.
this->products_ordered_attributes .= "\n\t" .
That code can be modified pretty heavily to make it so that all of the individual options appear in a uniform way under the GROUP and the products_options_name doesn't appear more than once for each option being listed.
However, I still have this problem throughout the store (in the checkout summary, when visiting the client order details page). It looks like a ton of coding to make this change throughout the entire Zen Cart.
Has anyone already created a MOD that lists attributes in a cleaner way, grouped with the options name instead of listing each option name every time?
TIA
Andre Morris
seenBEST Web Design