Sourcerer code in product item fields no longer working

  • Posts: 105
  • Thank you received: 2
1 year 11 months ago #341775

-- 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.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
1 year 11 months ago #341776

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.

  • Posts: 77
  • Thank you received: 8
  • Hikashop Business
3 weeks 1 day ago #360140

I have been using the sourcerer plugin and this syntax works for me in Hikashop

{source}[[?php echo date ("Y-m-d");?]]{/source}

Last edit: 3 weeks 1 day 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.050 seconds
Powered by Kunena Forum