Displaying YooTheme's Widgetkit in Product Gallery

  • Posts: 33
  • Thank you received: 2
9 years 2 months ago #244480

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Firefox

I'm looking to place a widgetkit gallery (or other gallery component) within the product page for more display flexibility.

How can I insert the code (ie: [widgetkit id="10"]) within the product page and remove the existing gallery?

Thanks.

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

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
9 years 2 months ago #244482

Hi,

You can put your tag in the product description.
You can also put some code in the view in order to parse the content tags

echo JHTML::_('content.prepare', '[widgetkit id="10"]');
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: 33
  • Thank you received: 2
9 years 2 months ago #244880

That's great Jerome,

It works well in the description but it doesn't place the gallery where i'd like (left of the specifications/custom fields).

Can you please clarify what you mean on your second point "in the view in order"?

Thanks

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244899

@jukeboxjunkey:

You cannot easily use Widgetkit to handle sort of an image gallery on a product page.

What you can do, since Widgetkit is built on UIkit, is to modify a HikaShop view and replace the default image presentation with UIkit Slider or Slideset or Slideshow code.
It requires proper knowledge of HTML and PHP, and some CSS.

For more on HikaShop views: www.hikashop.com/support/documentation/1...-display.html#layout
For more on the relevant UIkit code (see left sidebar for relevant sections): getuikit.com/docs/components.html


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 2143
  • Thank you received: 747
9 years 2 months ago #244900

@jukeboxjunkey:

You cannot easily use Widgetkit to handle sort of an image gallery on a product page.

What you can do, since Widgetkit is built on UIkit, is to modify a HikaShop view and replace the default image presentation with UIkit Slider or Slideset or Slideshow code.
It requires proper knowledge of HTML and PHP, and some CSS.

For more on HikaShop views (as well as for what Jerome was referring to): www.hikashop.com/support/documentation/1...-display.html#layout
For more on the relevant UIkit code (see left sidebar for relevant sections): getuikit.com/docs/components.html


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
9 years 2 months ago #244890

Hi,

You can edit the file "show_default" via the menu Display>Views. That's the view responsible for displaying the product page.
There, if you add the code provided by Jerome, it will display your tag too. And that way, you can place it wherever you want on the page.
You can read more about how to customize the layouts of HikaShop here:
www.hikashop.com/support/documentation/1...-display.html#layout

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

Time to create page: 0.073 seconds
Powered by Kunena Forum