X-Cart Gold 4.0.18
I am trying to tighten up the display of the shopping cart, and I am focusing on editing
/skin1/customer/main/cart.tpl
/skin1/modules/Product_Options/display_options.tpl
My goal is to make the cart look like this:
[image removed]
I have already edited the language file ("Selected options" was changed to "Color/Shade";
I have already edited /skin1/customer/main/cart.tpl to remove some
's that in my opinion were not required.
I need to figure out 2 things:
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?
Code:
{if $products[product].product_options ne ""}
{$lng.lbl_selected_options}:{include file="modules/Product_Options/display_options.tpl" options=$products[product].product_options}
{/if}
I don't see a line break in there! What am I missing?
I am a neewbie when it comes to Smarty/PHP (but not to html or css) - so any wisdom from the community is MUCH appreciated.
Thanks!
Jeremy