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

#   Different HikaShop product integration template fo

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

12 years 2 months ago [\#169366](#169366) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Different HikaShop product integration template fo](/forum/30-integrations/870704-different-hikashop-product-integration-template-fo#169366 "-- HikaShop version -- : newest  I made a custom template to integrat emy HikaShop products but I have different kind of newsletters and I don't want products to look the same in all newsletter templates.  How can I develop and integrate selectively different versions of the HikaShop product template depending on the destination acyba template?")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : newest

I made a custom template to integrat emy HikaShop products but I have different kind of newsletters and I don't want products to look the same in all newsletter templates.

How can I develop and integrate selectively different versions of the HikaShop product template depending on the destination acyba template?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzA3MDQtZGlmZmVyZW50LWhpa2FzaG9wLXByb2R1Y3QtaW50ZWdyYXRpb24tdGVtcGxhdGUtZm8/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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 2 months ago [\#169453](#169453) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Different HikaShop product integration template fo](/forum/30-integrations/870704-different-hikashop-product-integration-template-fo#169453 "-- HikaShop version -- : newest  I made a custom template to integrat emy HikaShop products but I have different kind of newsletters and I don't want products to look the same in all newsletter templates.  How can I develop and integrate selectively different versions of the HikaShop product template depending on the destination acyba template?")*

Hi,

You'll have to modify the HikaShop plugin for AcyMailing and mainly the function _replaceProducts of the file plugins/acymailing/hikashop/hikashop.php
There you have access to the email data in the variable $email and the replacement of the tag by the product data is then done with the call to the function _replaceProduct where you can use a different template based on the current email with some custom code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzA3MDQtZGlmZmVyZW50LWhpa2FzaG9wLXByb2R1Y3QtaW50ZWdyYXRpb24tdGVtcGxhdGUtZm8/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.038 seconds

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