Include the alias in the characteristic list

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
9 years 7 months ago #200391

-- 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.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #200397

Hi,

In the view "productmarket | form_characteristic", please replace

<td><?php echo $characteristic->characteristic_value; ?></td>
By
<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.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
9 years 7 months ago #200399

Works perfectly, thanks Jerome

Trevor

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #200401

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.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
9 years 7 months ago #200434

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.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #200449

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.067 seconds
Powered by Kunena Forum