Quote:
Originally Posted by carpeperdiem
X-Cart Gold 4.0.18
I have already edited the language file ("Selected options" was changed to "Color/Shade";
|
The title you changed is meant to introduce the list of options not a specific option. I guess if 100% of your products will always have Color/Shade as the only option its OK to change it here but you really should just delete the title if you don't want it to say "Selected options" and deal with the color/shade option separately - see below.
Quote:
1. Move the "Color: the_selected_color" to the same line as "Color/Shade:"
2. Delete (or disable print output) of the var, {$v.class}:
I deleted {$v.class}: and now the output is how I want it, HOWEVER, I would like it formatted on the same line.
My questions:
1. Did I do a Bad Thing by removing the {$v.class} variable from /skin1/modules/Product_Options/display_options.tpl ? Will this bite me later on?
2. WHERE in /skin1/customer/main/cart.tpl is the line break to put {$v.option_name} on its own line?
|
Its on a separate line because in display_options.tpl a table is used to display all the options. The title you changed above is outside the table.
Taking {$v.class} out will bite you later if you ever have options other than Color/Shade. If 100% of your products always have only one option called color you will be OK but its just as easy to do it right.
What you really should do is delete the title (Selected options) as I said above, leave {$v.class}:$nbsp in and change the name of your option from Color to Color/Shade. That way if you ever have options other than color they will display properly. This will change the product page option from Color to Color/Shade as well. But is't that what you want - have it say the same thing on the product page and in the cart?