Skip to main content

Include the alias in the characteristic list

More
11 years 4 months ago #200391 by trevsmiff
-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4.29

Hi

When adding a characteristic to product using Hikamarket it would be useful if the characteristic alias was shown alongside the characteristic name in the list.

Example: A shop selling clothes might have different colour ranges set up as separate characteristics. At the moment only the name of the characteristic is displayed. As space is limited on the product page I use names like 'Jacket colour' but I add the product to the alias as there could be several of these with different variants. When adding the characteristic the list does not distinguish which product the characteristic is for as only the name is displayed.

Regards
Trevor

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #200397 by Jerome
Hi,

In the view "productmarket | form_characteristic", please replace
Code:
<td><?php echo $characteristic->characteristic_value; ?></td>
By
Code:
<td><?php echo $characteristic->characteristic_value; if(!empty($characteristic->characteristic_alias)) echo ' - ' . $characteristic->characteristic_alias; ?></td>

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: trevsmiff

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #200399 by trevsmiff
Works perfectly, thanks Jerome

Trevor

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #200401 by Jerome
You're welcome !

I also put the modification in HikaMarket (and in the future product edition in the HikaShop backend).

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #200434 by trevsmiff
Well almost perfect! ;)
The alias is displayed when editing a product which has the characteristic already added but not when adding a new one.

regards
Trevor

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #200449 by Jerome
Hi,

Yes, I know.
For that second part it will require more than a few minutes :)
But I'll work on it !

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.188 seconds
Powered by Kunena Forum