Insert text/html snippets into several products.
Posted: Mon Feb 19, 2018 4:58 pm
I'm looking for a way to insert a snippet of text or html/php into several products via text I choose in the product-text.
Example: I have several products that have the same options and I want the product-text to show some info about it, but I don't want to edit all the products if I need to change the text a bit.
How can I enter a tag into the product-text, and have opencart swap out the tag with the text I want?
If I just do a php include in the product-text opencart comments out the php code.
running Opencart 3.0.2.0, and I have vqmod installed. There is no mod in question, rather where to parse the product-text for a specific tag.
Edit: cleared up question.
Example: I have several products that have the same options and I want the product-text to show some info about it, but I don't want to edit all the products if I need to change the text a bit.
How can I enter a tag into the product-text, and have opencart swap out the tag with the text I want?
If I just do a php include in the product-text opencart comments out the php code.
running Opencart 3.0.2.0, and I have vqmod installed. There is no mod in question, rather where to parse the product-text for a specific tag.
Edit: cleared up question.