Yootheme support

  • Posts: 55
  • Thank you received: 7
  • Hikashop Business
3 days 20 hours ago #367450

-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5.3.1
-- PHP version -- : 8.3

Hello

I have a request from a customer for the integration of a store into the existing website. The template is built with Yootheme. What about the integration of HikaShop with Yootheme?
- Is there a plugin for HikaShop with which I can use the dynamic content function of Yootheme ( yootheme.com/support/yootheme-pro/joomla/developers-sources )?
- or can I at least configure HikaShop so that the store elements support UIkit tags ( getuikit.com/ )?
- or do I have to manually create a CSS file with overrides? Is there a basic override file with the most important elements?

Thank you very much for your answers. These will have a significant influence on the offer I have to write.

Regards
Stefan

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
3 days 16 hours ago #367452

Hi,

1. There is no Yootheme content source plugin for HikaShop at the moment.
However, you can use HikaShop content tags in Yootheme to add product add to cart button, and some of the product main information inside the page builder:
www.hikashop.com/support/documentation/1...-product-insert.html
Also, you can include the HikaShop content module and the HikaShop cart module in there too.

2. Regarding your second question, I suppose that you're talking about adding the classes of IUkit to HikaShop elements.
The main thing will be the buttons and this is possible with the CSS options available in the HikaShop configuration:
www.hikashop.com/support/documentation/5...fig.html#display_css
For example, instead of "hkbtn", you could have "uk-button" in the "CSS for buttons" setting. And instead of "hkcart", you could have
"uk-button-primary" in the "Extra CSS for add to cart buttons" setting.
If you want to change the form-select, form-control and input-group classes on the forms of HikaShop on the frontend, there is no easy option to change. However, if you can define the corresponding PHP constants ( HK_FORM_CONTROL_CLASS HK_FORM_SELECT_CLASS and HK_GROUP_CLASS ) before HikaShop is loaded (in a system plugin for example), you can set the UIKit classes instead:
chatgpt.com/share/683ee5a2-e2cc-8003-8206-b4cea7b6a3ed
Another solution would be to use ReReplacer to dynamically replace the classes in the HTML. I've never tried though.

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

  • Posts: 55
  • Thank you received: 7
  • Hikashop Business
2 days 13 hours ago #367483

Thank you for your answers, Nicolas.

Unfortunately, the first option is not a realistic possibility, as every new product is added to the post again after it has been entered in the store. The same goes for deleting. This is too much effort for a dynamic store and harbors a lot of potential for errors.

Your 2nd suggestion sounds exciting, both with a plugin and with ReReplacer.

If the classes can be changed so easily: Wouldn't it be an option for you from the Hikashop team to offer a plugin as part of the shop with which your customers can define their own classes for various elements? This would make it much easier to adapt HikaShop to various templates.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
2 days 8 hours ago #367490

Hi,

That's a good point. In fact, looking at it after your message, I found out that we already have something in place without having to use ReReplacer or develop a plugin.
You can go in your PHPMyAdmin and open the hikashop_config table. There, add entries with the namekeys form_select_class form_control_class and group_class and for the values you can provide the class names you want.
That way, it will automatically override the default class names.
And it will not require any operation for future updates of HikaShop.

The following user(s) said Thank You: smart web

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

  • Posts: 55
  • Thank you received: 7
  • Hikashop Business
21 hours 3 minutes ago #367506

I have tested this and it works fine. However, it would be much more convenient for me if i could enter these classes directly in a plugin or, even better, in the global configuration of the store, just like the buttons. From the user's point of view, this would be a very welcome option.

But for now, thanks for this solution. This is a huge time saver.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
17 hours 48 minutes ago #367507

Hi,

Thanks for your feedback.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum