About Wishlist on Product, Icon, and Some Relevant Settings

  • Posts: 9
  • Thank you received: 0
6 years 4 months ago #283822

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.31

Hello! Does it bother to discuss with us some questions below?

1. How shall we set a Wishlist button into an icon (for instance, a solid cardioid) so that such buttons can be replaced by such icons in user interface?
2. In both a product list and a product detail, can we mark colors on the icons (for instance, marking red on ones which are already in Wishlist and gray-50% one ones in remaining)?
3. From 2., how shall we set them in intrinsic setting items? Otherwise, how shall we modify the codes as per how we wish them to be? Or could you please send the sample codes?

Thank you (guys) very much! Your solution(s) are appreciative a lot!!!

Attachments:
Last edit: 6 years 4 months ago by john_yen_CoNutri.

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
6 years 4 months ago #283824

Hi,

1. You can use CSS code to hide the text and add an icon image instead. Or even use a translation override to change the text into the HTML code for an image:
www.hikashop.com/support/documentation/1...ize-the-display.html
www.hikashop.com/download/languages.html#modify

2. There is no easy way to do it because there is no class on the buttons to easily differentiate between both in CSS code.
So it would require modifying the view file displaying the buttons to add PHP code to do that processing.
For a developer it shouldn't be complex, but if you're not one, then you won't be able to unless you hire one to add that for you.

3. To know where to change the buttons, you can use the "display view files" setting of the HikaShop configuration as explained in the "customize the display" link above. But the PHP to add, while not that complex still requires some proper development. So even if that's easy, a developer will still have to spend 1 or 2 hours looking into it. So I can't give you the code to use as that's outside normal user support.
If you need someone to help you with that and don't have a developer on hand, you can contact our partners:
www.hikashop.com/home/our-partners.html

The following user(s) said Thank You: john_yen_CoNutri

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

Time to create page: 0.062 seconds
Powered by Kunena Forum