[Skip to main content](#vessel-content)

#   Sourcerer Doesn't Work in Product Description

##

- **[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")**
- [![yideaz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9833-yideaz "View yideaz's Profile") Topic Author
- [ Offline](/forum/user/9833-yideaz)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 9 months ago [\#229043](#229043) by [yideaz](/forum/user/9833-yideaz "View yideaz's Profile")  *[Sourcerer Doesn't Work in Product Description](/forum/26-product-category-display/882104-sourcerer-doesnt-work-in-product-description#229043 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : ANY -- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.  Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.")* was created by *[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : ANY
-- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.

Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIxMDQtc291cmNlcmVyLWRvZXNudC13b3JrLWluLXByb2R1Y3QtZGVzY3JpcHRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

10 years 9 months ago [\#229050](#229050) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sourcerer Doesn't Work in Product Description](/forum/26-product-category-display/882104-sourcerer-doesnt-work-in-product-description#229050 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : ANY -- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.  Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.")*

Hi,

It's working fine on our end.
Here is an example:
[ take.ms/URIfB](http://take.ms/URIfB)
[ take.ms/l4UhUq](http://take.ms/l4UhUq)
The example was taken from the sourcerer documentation.
Note that we had to deactivate the HTML editor as it is removing the PHP code because it considers it invalid (but that's the same for Joomla articles and other places using the HTML editor). There is an "editor" setting in the HikaShop configuration in order select the editor you want and you can also select the "none" choice to remove it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIxMDQtc291cmNlcmVyLWRvZXNudC13b3JrLWluLXByb2R1Y3QtZGVzY3JpcHRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")**
- [![yideaz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9833-yideaz "View yideaz's Profile") Topic Author
- [ Offline](/forum/user/9833-yideaz)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 9 months ago [\#229143](#229143) by [yideaz](/forum/user/9833-yideaz "View yideaz's Profile")  Replied by *[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")* on topic *[Sourcerer Doesn't Work in Product Description](/forum/26-product-category-display/882104-sourcerer-doesnt-work-in-product-description#229143 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : ANY -- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.  Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.")*

The first thing I tried was to turn off the editor. Didn't work, it's as though there is still something in Hikashop that rewrites it. The example you showed me, isn't an example of a script, it's just some php which may work, but js and iframe code does not. Anything between the {source} and {/source} disappears, and leaves only modifiers or intro text. And as I stated before, it works perfectly in modules and articles. Any other ideas?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIxMDQtc291cmNlcmVyLWRvZXNudC13b3JrLWluLXByb2R1Y3QtZGVzY3JpcHRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")**
- [![yideaz's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9833-yideaz "View yideaz's Profile") Topic Author
- [ Offline](/forum/user/9833-yideaz)

Less More

- Posts: 34
- Thank you received: 0
-
-

10 years 9 months ago -  10 years 9 months ago [\#229155](#229155) by [yideaz](/forum/user/9833-yideaz "View yideaz's Profile")  Replied by *[yideaz](/forum/user/9833-yideaz "View yideaz's Profile")* on topic *[Sourcerer Doesn't Work in Product Description](/forum/26-product-category-display/882104-sourcerer-doesnt-work-in-product-description#229155 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : ANY -- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.  Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.")*

I managed to solve this myself.
&lt;p&gt;Added Sourcerer to client's site - to use code within articles - but I didn’t realize there is a fail safe in Joomla 2.5 to 3.0 that disallows the use of iframes in TinyMCE. I typically use no editor or JCE so I didn’t realize the default. So I changed the TinyMCE plugin option to allow iframes.&lt;/p&gt;

&lt;p&gt;Added video to product in backend. It worked, could view in backend but not in frontend. Turns out I need yet another plugin, AllVideo - fortunately it’s free.&lt;/p&gt;

&lt;p&gt;Added plugin, put the simple plugin code into product description: {youtube}video id{youtube}. It works! ![:)](/media/kunena/emoticons/3.png ":)") ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")
[ deziroo.com/index.php/shop-1/product/285-hide-n-sneak](http://deziroo.com/index.php/shop-1/product/285-hide-n-sneak)&lt;/p&gt;

Last edit: 10 years 9 months ago by [yideaz](/forum/user/9833-yideaz "View yideaz's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIxMDQtc291cmNlcmVyLWRvZXNudC13b3JrLWluLXByb2R1Y3QtZGVzY3JpcHRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4080
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#229158](#229158) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Sourcerer Doesn't Work in Product Description](/forum/26-product-category-display/882104-sourcerer-doesnt-work-in-product-description#229158 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : ANY -- Error-message(debug-mod must be tuned on) -- : No Number Sourcerer does not work.  Cannot use sourcerer. Need to embed Youtube video from iframe. Sourcerer works in all other areas.")*

Hi,

Good to know that you solved your issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODIxMDQtc291cmNlcmVyLWRvZXNudC13b3JrLWluLXByb2R1Y3QtZGVzY3JpcHRpb24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.062 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
