How to use an URL link in a product option ?

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60826

Hello,

I realised that it is not possible to show an image in a product option. (I wonder why it is provided anyway ...)
Then I saw on the demo site of Hikashop that they use an URL link in the option.

something like this ....
index.php?option=com_content&view=article&id=47&Itemid=92&tmpl=component

I could use this also... but in my case the article is not showing up in a separate window.
How do you handle this?
On the demo site I can't view the article to find out how this is created.


Thank you for you help

Best regards,
Jan

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

  • Posts: 81591
  • Thank you received: 13079
  • MODERATOR
11 years 8 months ago #60897

Hi,

The article you specify in the URL of the option should automatically appear in a popup, like the demo website.
If that's not the case, it's possible that you have a javascript error on your website preventing the popup to be properly initialized.
You should check the javascirpt error console of your browser while looking at the page to see if you have an error of that sort.
If you could give a link to that page, we could look at that and probably give you some solution.

Note that options can be normal products. Suppose that you sell a computer and a mouse, and that the mouse can be sold as an option of the computer but can also be sold on its own. In that case, you will use only one product for the mouse and thus you will have to put an image for the mouse when you browse it from the listing of products.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60918

Hi NIcolas,

This is the link of the page. (I only added an URL link on the last option : "Foilprinting - on the cover" Information
When you click on that "INFO" button you will see it is not opening the article like on your demo site.

index.php?option=com_content&view=article&id=83&Itemid=93&tmpl=component

br
Jan

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

  • Posts: 81591
  • Thank you received: 13079
  • MODERATOR
11 years 8 months ago #60923

Please give a link to the page of the product with the option.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60925

sorry I forgot the link

depotjesfabriek.be/index.php/nl/online-s...xan-aphrodite-duolux


eh... another thing (not urgent)
How come I am not able to have my product listing sorted by volume (customer field that I have created) (text field)



br
Jan

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

  • Posts: 81591
  • Thank you received: 13079
  • MODERATOR
11 years 8 months ago #60926

That's indeed because you have a javascript conflict.
Please turn off the jch optimize plugin which apparently breaks your javascript and if that's not enough, please try to also install and configure the plugin jquery easy which can help avoid such javascript conflicts.

Please give more info on your other problem.

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

  • Posts: 88
  • Thank you received: 0
11 years 8 months ago #60968

Hi Nicolas,


Its working ! after I turned off the jch optimize plugin.
many many thanks for your help !

what a great service guys !

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

  • Posts: 15
  • Thank you received: 0
11 years 2 months ago #89537

Hi,

I have a question related to this topic:
The popup window opens properly when I click on the little "i" next to the product option onto the URL I have put in the option's URL.
However, unlike on your demo website (product with option), it shows the actual website page of the option article but not the article only related to my option.

Is there a particular way to refer to the article only without its surrounding?

Thank you

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

  • Posts: 81591
  • Thank you received: 13079
  • MODERATOR
11 years 2 months ago #89673

Hi,

You need to add &tmpl=component in the URL of your article, like we do on our demo website.

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

  • Posts: 15
  • Thank you received: 0
11 years 2 months ago #89708

Perfect, thanks Nicolas!

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

Time to create page: 0.084 seconds
Powered by Kunena Forum