Skip to main content

Sourcerer code in product item fields no longer working

More
4 years 4 months ago #341775 by rfonta
-- HikaShop version -- : 4.5.1
-- Joomla version -- : 4.1.2
-- PHP version -- : 7.4

Hello,
I am now upgrading my whole joomla site and using the latest hikashop business.
In the previous version I was using, i had a field where i was using some code with sourcerer to define the content.
It doesn't seem to work anymore. Is that normal ?
Regards
Richard

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

More
4 years 4 months ago #341776 by nicolas
Hi,

Normally, sourcerer processes the HTML of the page at the end of the page. So as long as HikaShop still displays the sourcerer tag on the page, sourcerer will process the tag.
That means that if you see the unprocessed sourcerer tag on the pages, then it's likely a problem in sourcerer regardless of how the tag is added on the page.

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

More
2 years 5 months ago - 2 years 5 months ago #360140 by huwhuw
I have been using the sourcerer plugin and this syntax works for me in Hikashop
Code:
{source}[[?php echo date ("Y-m-d");?]]{/source}
Last edit: 2 years 5 months ago by huwhuw.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.217 seconds
Powered by Kunena Forum