Sourcerer code in product item fields no longer working

  • Posts: 105
  • Thank you received: 2
2 years 6 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: 82956
  • Thank you received: 13392
  • MODERATOR
2 years 6 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: 82
  • Thank you received: 8
  • Hikashop Business
8 months 2 days 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: 8 months 2 days 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.064 seconds
Powered by Kunena Forum