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

#  Profile for yolknet

##

[![yolknet's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12476-yolknet "View yolknet's Profile")

**[ Offline](/forum/user/12476-yolknet)**

- **User Type:** User

- **Register Date:** 21 Dec 2012
- **Last login:** 5 days 8 hours ago
- **Time Zone:**  UTC +1:00
- **Local Time:** 22:06

- **Posts:** 53
- **Profile views:** 148
- **Thank you received:** 3

- **Gender:** Unknown
- **Birthdate:** Unknown
- **Medals:**  Hikashop Business

- Posts

#  yolknet's recent posts  (53 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000189) | [Override notify mail address when certain products are ordered](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000189 "In the general Hikashop settings you can set an admin email address that receives the notification when a product is ordered. For certain products I want to use a different email address. Is it possible to override this setting?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 5 months 2 weeks ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") 3 weeks 3 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:7  Views:350 | [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      3 weeks 3 days ago |
| [](/forum/27-checkout/100000005-adding-custom-field-to-billing-address-in-email#100000024) | [Adding custom field to billing address in email](/forum/27-checkout/100000005-adding-custom-field-to-billing-address-in-email#100000024 "-- Browser(s) name and version -- : Firefox 156.0  In the confirmation mail after an order the billing and shipment address are displayed. I added a custom field for the house number. Where do I add this custom field so it's in the address block of the email?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 1 month 6 days ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/100000005-adding-custom-field-to-billing-address-in-email#100000025 "-- Browser(s) name and version -- : Firefox 156.0  In the confirmation mail after an order the billing and shipment address are displayed. I added a custom field for the house number. Where do I add this custom field so it's in the address block of the email?") 1 month 6 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:0  Views:91 | [Last Post](/forum/27-checkout/100000005-adding-custom-field-to-billing-address-in-email#100000025 "-- Browser(s) name and version -- : Firefox 156.0  In the confirmation mail after an order the billing and shipment address are displayed. I added a custom field for the house number. Where do I add this custom field so it's in the address block of the email?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      1 month 6 days ago |
| [](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#372049) | [Override notify mail address when certain products are ordered](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#372049 "In the general Hikashop settings you can set an admin email address that receives the notification when a product is ordered. For certain products I want to use a different email address. Is it possible to override this setting?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 5 months 2 weeks ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") 3 weeks 3 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:7  Views:350 | [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      3 weeks 3 days ago |
| [](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371994) | [Override notify mail address when certain products are ordered](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371994 "In the general Hikashop settings you can set an admin email address that receives the notification when a product is ordered. For certain products I want to use a different email address. Is it possible to override this setting?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 5 months 2 weeks ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") 3 weeks 3 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:7  Views:350 | [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      3 weeks 3 days ago |
| [](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371982) | [Override notify mail address when certain products are ordered](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371982 "In the general Hikashop settings you can set an admin email address that receives the notification when a product is ordered. For certain products I want to use a different email address. Is it possible to override this setting?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 5 months 2 weeks ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") 3 weeks 3 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:7  Views:350 | [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      3 weeks 3 days ago |
| [](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371920) | [Override notify mail address when certain products are ordered](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#371920 "In the general Hikashop settings you can set an admin email address that receives the notification when a product is ordered. For certain products I want to use a different email address. Is it possible to override this setting?")        Category: [Checkout](/forum/27-checkout "Everything about the checkout process in Hikashop")     Topic started 5 months 2 weeks ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") 3 weeks 3 days ago     by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile") | Replies:7  Views:350 | [Last Post](/forum/27-checkout/910524-override-notify-mail-address-when-certain-products-are-ordered#100000190 "Hi Nicolas, There is something not correct in the code you wrote. I have to following lines in the preload section of the order&#95;admin&#95;notification:  // Map a category id to the recipient email address that should // receive the admin notification when any product in that category // is in the order. Add more rows here if you want to handle several // categories with different recipients. $category&#95;override&#95;map = array( 50 =&gt; );  if(!empty($data) &amp;&amp; !empty($data-&gt;cart-&gt;products) &amp;&amp; !empty($data-&gt;customer)) { // Collect both the variant id and its parent product id, since // categories in HikaShop are typically assigned on the main // product, not on each variant. $product&#95;ids = array(); foreach($data-&gt;cart-&gt;products as $p) { if(!empty($p-&gt;product&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;id&#93; = (int)$p-&gt;product&#95;id; if(!empty($p-&gt;product&#95;parent&#95;id)) $product&#95;ids&#91;(int)$p-&gt;product&#95;parent&#95;id&#93; = (int)$p-&gt;product&#95;parent&#95;id; }  if(!empty($product&#95;ids)) { $db = JFactory::getDBO(); $db-&gt;setQuery( 'SELECT DISTINCT category&#95;id FROM ' . hikashop&#95;table('product&#95;category') . ' WHERE product&#95;id IN (' . implode(',', $product&#95;ids) . ')' ); $order&#95;categories = array&#95;map('intval', (array)$db-&gt;loadColumn());  foreach($category&#95;override&#95;map as $catId =&gt; $to) { if(in&#95;array((int)$catId, $order&#95;categories, true)) { // Full replacement of the recipient. If you would rather ADD // to the configured admin emails instead of replacing them, do: // $current = (array)$data-&gt;customer-&gt;user&#95;email; // $current&#91;&#93; = $to; // $data-&gt;customer-&gt;user&#95;email = $current; $data-&gt;customer-&gt;user&#95;email = $to; break; } } } }  If someone orders a product from category 50 the email isn't send.  Can I also add a second email address to the same category?") by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")      3 weeks 3 days ago |
| [](/forum/32-content-creation/909715-translation-not-showing#368613) | [Translation not showing?](/forum/32-content-creation/909715-translation-not-showing#368613 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3.24  Hi,  I'm migrating a website from joomla 4 to joomla 5. The website used Falang for multi language pages but I want to remove Falang and use native joomla functionality). So I deinstalled Falang. In hikashop the mulit language option is set to yes. The products and categories have translated titles and content. But on the frontend I only see the dutch titles and content (default language is dutch). See screenshots of the same product on a dutch and an english page. Everything is translated as it should be (like add to cart button, and the cart module in the header)/ But the content and title stay in dutch. I also include some screenshots of the product in the backend so you can see that there is english content.  What am I missing here?")         Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 1 year 1 month ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/32-content-creation/909715-translation-not-showing#368616 "Hi,  1. Falang uses a system plugin which hooks up to the MySQL queries driver mechanism of Joomla. With this, it reads all the MySQL queries and when something matches with a content element it supports, it will run another query to look for the translations and dynamically replace the text on the frontend. So, in the Falang backend interface, if you go to the &quot;Content elements&quot; menu of Falang, you can see all the content elements it supports. There, you can select the ones you don't want Falang to take into account and delete them. The less content elements you have in Falang, the less queries it will have to process. If you only need it for a few content elements in HikaShop, you can delete all the other ones and it will drastically help reduce the toll of using Falang on your pages speed.  2. You can rename it to whatever you want. The goal is for HikaShop to not find it anymore. So for example falang&#95;content&#95;backup") 1 year 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1318 | [Last Post](/forum/32-content-creation/909715-translation-not-showing#368616 "Hi,  1. Falang uses a system plugin which hooks up to the MySQL queries driver mechanism of Joomla. With this, it reads all the MySQL queries and when something matches with a content element it supports, it will run another query to look for the translations and dynamically replace the text on the frontend. So, in the Falang backend interface, if you go to the &quot;Content elements&quot; menu of Falang, you can see all the content elements it supports. There, you can select the ones you don't want Falang to take into account and delete them. The less content elements you have in Falang, the less queries it will have to process. If you only need it for a few content elements in HikaShop, you can delete all the other ones and it will drastically help reduce the toll of using Falang on your pages speed.  2. You can rename it to whatever you want. The goal is for HikaShop to not find it anymore. So for example falang&#95;content&#95;backup") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 1 month ago |
| [](/forum/32-content-creation/909715-translation-not-showing#368573) | [Translation not showing?](/forum/32-content-creation/909715-translation-not-showing#368573 "-- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3.24  Hi,  I'm migrating a website from joomla 4 to joomla 5. The website used Falang for multi language pages but I want to remove Falang and use native joomla functionality). So I deinstalled Falang. In hikashop the mulit language option is set to yes. The products and categories have translated titles and content. But on the frontend I only see the dutch titles and content (default language is dutch). See screenshots of the same product on a dutch and an english page. Everything is translated as it should be (like add to cart button, and the cart module in the header)/ But the content and title stay in dutch. I also include some screenshots of the product in the backend so you can see that there is english content.  What am I missing here?")         Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 1 year 1 month ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/32-content-creation/909715-translation-not-showing#368616 "Hi,  1. Falang uses a system plugin which hooks up to the MySQL queries driver mechanism of Joomla. With this, it reads all the MySQL queries and when something matches with a content element it supports, it will run another query to look for the translations and dynamically replace the text on the frontend. So, in the Falang backend interface, if you go to the &quot;Content elements&quot; menu of Falang, you can see all the content elements it supports. There, you can select the ones you don't want Falang to take into account and delete them. The less content elements you have in Falang, the less queries it will have to process. If you only need it for a few content elements in HikaShop, you can delete all the other ones and it will drastically help reduce the toll of using Falang on your pages speed.  2. You can rename it to whatever you want. The goal is for HikaShop to not find it anymore. So for example falang&#95;content&#95;backup") 1 year 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:3  Views:1318 | [Last Post](/forum/32-content-creation/909715-translation-not-showing#368616 "Hi,  1. Falang uses a system plugin which hooks up to the MySQL queries driver mechanism of Joomla. With this, it reads all the MySQL queries and when something matches with a content element it supports, it will run another query to look for the translations and dynamically replace the text on the frontend. So, in the Falang backend interface, if you go to the &quot;Content elements&quot; menu of Falang, you can see all the content elements it supports. There, you can select the ones you don't want Falang to take into account and delete them. The less content elements you have in Falang, the less queries it will have to process. If you only need it for a few content elements in HikaShop, you can delete all the other ones and it will drastically help reduce the toll of using Falang on your pages speed.  2. You can rename it to whatever you want. The goal is for HikaShop to not find it anymore. So for example falang&#95;content&#95;backup") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 1 month ago |
| [](/forum/32-content-creation/909684-webshop-is-very-slow-with-variants#368346) | [Webshop is very slow with variants](/forum/32-content-creation/909684-webshop-is-very-slow-with-variants#368346 "-- HikaShop version -- : 6.0 0 -- Joomla version -- : 5.3.3 -- PHP version -- : 8.3.24  We have created a webshop (only to make offers, not to make an actual purchase) for products that can be customized by size. I did this with variants. Some of the products have up to 800 variants. First you choose a category, the category will load all the products in the category. But when you choose a product, it takes like 20 to 30 seconds the page. No need to explain that that is too long ;-) What can we do to speed this up? Or is that just how it is wit variants?")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 1 year 1 month ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/32-content-creation/909684-webshop-is-very-slow-with-variants#368350 "Hi,  It is how it is with variants. A variant is like a product. So, if you have 800 variants for a product, the system has to load all 800 variants on the page. So it is similar to displaying a listing of 800 products on the frontend. It would also be as slow. Now, there are very few cases where you really need that many variants. In most cases, you can do the same with custom fields of the table &quot;item&quot;:   www.hikashop.com/support/documentation/4...shop-field-form.html  These won't require much loading so you can have dozens of fields with dozens of values for each without any speed difference on the product page load. So, I would recommend looking into the possibility of using custom item fields instead of characteristics.") 1 year 1 month ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1129 | [Last Post](/forum/32-content-creation/909684-webshop-is-very-slow-with-variants#368350 "Hi,  It is how it is with variants. A variant is like a product. So, if you have 800 variants for a product, the system has to load all 800 variants on the page. So it is similar to displaying a listing of 800 products on the frontend. It would also be as slow. Now, there are very few cases where you really need that many variants. In most cases, you can do the same with custom fields of the table &quot;item&quot;:   www.hikashop.com/support/documentation/4...shop-field-form.html  These won't require much loading so you can have dozens of fields with dozens of values for each without any speed difference on the product page load. So, I would recommend looking into the possibility of using custom item fields instead of characteristics.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 1 month ago |
| [](/forum/25-install-update/909540-format-the-date-in-emails#367706) | [format the date in emails](/forum/25-install-update/909540-format-the-date-in-emails#367706 "-- HikaShop version -- : 6.0 0 -- Joomla version -- : 5.3.1  Probably an easy question, and I'm sure I have done this before, but can't find it anymore... How/where do I change the format of the date in emails? Like the order date, it is now formatted like 2025-06-30 but I need it to be 30-06-2025. Thanks!")        Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 1 year 4 months ago, by [yolknet](/forum/user/12476-yolknet "View yolknet's Profile")       [Last Post](/forum/25-install-update/909540-format-the-date-in-emails#367707 "Hi,  All the dates are formatted with translation overrides:   www.hikashop.com/forum/product-category-...e-format.html#332060") 1 year 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:1037 | [Last Post](/forum/25-install-update/909540-format-the-date-in-emails#367707 "Hi,  All the dates are formatted with translation overrides:   www.hikashop.com/forum/product-category-...e-format.html#332060") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 4 months ago |

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

Time to create page: 0.082 seconds

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