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

#   Don't send costs to vendor

##

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

Less More

- Posts: 57
- Thank you received: 1
-
-

10 years 3 months ago [\#246313](#246313) by [tariaki](/forum/user/43507-tariaki "View tariaki's Profile")  *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246313 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")* was created by *[tariaki](/forum/user/43507-tariaki "View tariaki's Profile")*

-- HikaShop version -- : HikaShop Business: 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.6
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Firefox 46

Hey,

How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg1NzQxLWRvbnQtc2VuZC1jb3N0cy10by12ZW5kb3I/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: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#246317](#246317) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246317 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hi,

There is no ACL to remove the prices from the order (and the email).
So it would require a view override and an email override to perform such kind of customization.

Regards,

---

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

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

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

Less More

- Posts: 70
- Thank you received: 1
-
-

10 years 3 months ago [\#246333](#246333) by [Storm](/forum/user/42764-storm "View Storm's Profile")  Replied by *[Storm](/forum/user/42764-storm "View Storm's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246333 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Thanks Jerome

Any tips on how to create those overrides?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg1NzQxLWRvbnQtc2VuZC1jb3N0cy10by12ZW5kb3I/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: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#246334](#246334) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246334 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hi,

Sure !

Here the documentation/explanation for the view/layout overrides :
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)
The HikaMarket views are also editable in the HikaShop view interface.

Here the documentation for the email edition (requires HikaShop Business) :
[ www.hikashop.com/support/documentation/i...shop-email-form.html](https://www.hikashop.com/support/documentation/integrated-documentation/10-hikashop/25-hikashop-email-form.html)
The HikaMarket emails will also be listed in the backend email listing.

Regards,

---

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

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

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

Less More

- Posts: 57
- Thank you received: 1
-
-

10 years 3 months ago -  10 years 3 months ago [\#246419](#246419) by [tariaki](/forum/user/43507-tariaki "View tariaki's Profile")  Replied by *[tariaki](/forum/user/43507-tariaki "View tariaki's Profile")* on topic *[\[SOLVED\] Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246419 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hey Jerome,

Thanks - found the overrides ![;)](/media/kunena/emoticons/24.png ";)")

I can see that the tag for showing the custom fields is {TXT:ADDITIONAL_INFORMATION}

What if I want to hide just a few custom fields from the email? Is that possible?

Attached the fields I would like to hide.

Solution: OK so the email template to edit is : Market: Order status notification and modified it to include :
Code:

if(!empty($itemFields)) { foreach($itemFields as $field) { $namekey = $field-&gt;field_namekey; if(!isset($item-&gt;$namekey) &#124;&#124; !strlen($item-&gt;$namekey) &#124;&#124; $field-&gt;field_namekey=="doesyouartworkhavebleedcropmarks" &#124;&#124; $field-&gt;field_namekey=="isyourartworkapdfactualsize" &#124;&#124; $field-&gt;field_namekey=="supplier" &#124;&#124; $field-&gt;field_namekey=="shippingcost" &#124;&#124; $field-&gt;field_namekey=="amount"){ continue; } $t .= '&lt;p&gt;' . $fieldsClass-&gt;getFieldName($field) . ': ' . $fieldsClass-&gt;show($field, $item-&gt;$namekey, 'user_email') . '&lt;/p&gt;'; } }

Of course change to your own field names.

- [ ![Screen&#95;Shot&#95;2016-07-26&#95;at&#95;21&#95;02&#95;24.jpg](/forum/attachment/32805) ](/forum/attachment/32805 "...t&#95;21&#95;02&#95;24.jpg") [ ](/forum/attachment/32805?download=1 "...t&#95;21&#95;02&#95;24.jpg")

Last edit: 10 years 3 months ago by [tariaki](/forum/user/43507-tariaki "View tariaki's Profile"). Reason: [SOLVED]

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg1NzQxLWRvbnQtc2VuZC1jb3N0cy10by12ZW5kb3I/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: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#246420](#246420) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246420 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hi,

In the emails ; you have one part for just the "design" where you can place "tags".
TXT are for text translations.
VAR are for variables.
LINEVAR are for internal variables inside a loop.
The tags are filled by PHP and the code can be found in the "preload" part of the email.

After that, HikaShop have new settings in order to display/hide custom fields in the emails ; some part are compatible with HikaMarket but I didn't process all tests. So some modifications in the email preload should be required.

Regards,

---

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

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

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

Less More

- Posts: 57
- Thank you received: 1
-
-

10 years 3 months ago [\#246464](#246464) by [tariaki](/forum/user/43507-tariaki "View tariaki's Profile")  Replied by *[tariaki](/forum/user/43507-tariaki "View tariaki's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246464 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hey Jerome,

Thanks for your reply.

I understand where the tags go and their functionality. In the pre-loaded PHP I can't understand how I can hide only some custom fields.

Regarding the display/hide in the custom fields I have set all the vendor options to 'No' (see attached) but that didn't hide the field in the email.

Am I missing something?

- [ ![Screen&#95;Shot&#95;2016-07-27&#95;at&#95;10&#95;02&#95;19.jpg](/forum/attachment/32816) ](/forum/attachment/32816 "...t&#95;10&#95;02&#95;19.jpg") [ ](/forum/attachment/32816?download=1 "...t&#95;10&#95;02&#95;19.jpg")

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

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

Less More

- Posts: 57
- Thank you received: 1
-
-

10 years 3 months ago [\#246488](#246488) by [tariaki](/forum/user/43507-tariaki "View tariaki's Profile")  Replied by *[tariaki](/forum/user/43507-tariaki "View tariaki's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246488 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

OK just found out that all the custom fields are stored under {LINEVAR:PRODUCT_NAME}

How can I hide only the few fields that I want? Been through the pre-load code and couldn't find the way to do it...

Ideas?

Thanks ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg1NzQxLWRvbnQtc2VuZC1jb3N0cy10by12ZW5kb3I/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: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#246520](#246520) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Don't send costs to vendor](/forum/23-market-how-to/885741-dont-send-costs-to-vendor#246520 "-- HikaShop version -- : HikaShop Business: 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.6 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Firefox 46  Hey,  How can I send a vendor only the shipping address and the products ordererd without showing any prices at all?  Thanks")*

Hi,

Here the code in the email : Code:

if(!empty($itemFields)) { foreach($itemFields as $field) { $namekey = $field-&gt;field_namekey; if(!isset($item-&gt;$namekey) &#124;&#124; !strlen($item-&gt;$namekey)) continue; $t .= '&lt;p&gt;' . $fieldsClass-&gt;getFieldName($field) . ': ' . $fieldsClass-&gt;show($field, $item-&gt;$namekey, 'user_email') . '&lt;/p&gt;'; } }

Regards,

---

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

The following user(s) said Thank You: [tariaki](/forum/user/43507-tariaki "View tariaki's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg1NzQxLWRvbnQtc2VuZC1jb3N0cy10by12ZW5kb3I/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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.068 seconds

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