Hi!
I have created some options and my problem is, that some options have the SAME title but DIFFERENT option values.
Example:
Option 1: name is "Package size" and options are 10g, 50g, 100g
Option 2:name is also "Package size", but options are 100ml and 250ml
In the backend list I get the same title "Package size" but no hint which is which.
And I have ten of it
So an additional "Title" field would be fine, which is shown in the backend list but not anywhere else. So I could enter "Package size 10g, 50g, 100g" and "Package size 100ml, 250ml" but below the article with both options I get only "Package size" (as I wish).
I have written a quick and dirty hack for me, where the name is scanned for special chars ("---") and all after these isn't shown. So in my backend list I have
"Package size --- 10g, 50g, 100g"
"Package size --- 100ml, 250ml"
So I can distinguish them.
The hack is quite simple. I replaced the normal output in components/com_eshop/themes/your_template/views/product/default.php
echo $option->option_name;
with
echo trim (substr($option->option_name, 0, strpos($option->option_name, '---')? : strlen($option->option_name)));
That works fine, but an additional title would be better, of course.
Best regards,
Christoph