You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#106466 Create content links to J2Store products

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by SigridGR on Monday, 25 January 2021 11:37 GMT

SigridGR
Hi, I am using J2Store and JCE on a few websites for my clients. J2Store products are Joomla articles. If I create in a blog article with the JCE link to a J2Store product, the html link is not using the J2Store url parameters. The link created is:

<a href="https://www.joomlacontenteditor.net/index.php?option=com_content&view=article&id=15:die-helle-freude-bio-akazienhonig&catid=15:bio-honig">Honig</a>
This will link to the product in com_content views. I need a link to the J2Store views like:

<a href="https://www.joomlacontenteditor.net/index.php?option=com_j2store&view=products&task=view&id=25&Itemid=147">Honig</a>
The "&Itemid=147" could be omitted, but the com_j2store is important. How could I solve this? Right now the client is copying absolute URLs which is not a good way. Actually an option for j2store products (see 3rd attachment) would be great. Thanks Sigrid

Attachments

SigridGR
Ah, while investigating I found the problem myself.
However, it is kind of tricky.

in your plugins you need to enable the search plugin for J2Store.
And in your JCE Profile, in the plugin params for links at the very bottom, you have to add the search plugin (see attachment)
Then in the link search within your editor view, articles and products will be found. however, the look like the same.
you have to find through clicking, which one produces the correct j2store link.

I just wanted to post it, so that if someone else has the same problem, they will find it here 😃
Thanks anyways!

Attachments

Ryan
I have made a change to the search display so that the results are displayed by component. You can test this in JCE Pro 2.9.2 RC - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

SigridGR
Yes just tested it - looks good!
and thank you!!!