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

#   Setting up "Allow vendor selector"

##

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 5 months ago [\#241540](#241540) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241540 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")* was created by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.5.1

I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.

I've looked at the documentation but it hasn't got much detail about how to set it up.
[ This is the documentation](https://www.hikashop.com/support/documentation/143-hikamarket-configuration.html)

I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg0ODA2LXNldHRpbmctdXAtYWxsb3ctdmVuZG9yLXNlbGVjdG9yP3RtcGw9bWFya2Rvd24=) 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 5 months ago [\#241553](#241553) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241553 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Hi,

If you want to have a vendor selector during the checkout ; you need first to create an "order" custom field with the type "vendor selector".
Then you will be able to select that custom field in the HikaMarket configuration so the value that your customer will choose during the checkout will be used by HikaMarket to assign the product to the vendor.

Regards,

---

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

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 5 months ago -  10 years 5 months ago [\#241620](#241620) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241620 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Thanks for that. I've got the vendor selector to work. I'm now getting an error message every time I place an order.
Code:

Notice: Undefined property: stdClass::$order_tax_info in /websites/mc/mywebsite.com/administrator/components/com_hikamarket/classes/order.php on line 1270 Notice: Undefined property: stdClass::$order_tax_info in /websites/mc/mywebsite.com/administrator/components/com_hikamarket/classes/order.php on line 1270 Thank you for your purchase.

I also found another issue while logged into the front end of the website as a vendor when trying to view the vendors products. Whenever I try to view the list of vendor products either through the vendor control panel or via a direct menu link I get a 403 error saying access forbidden. I've checked all the ACLs and user rights but there isn't anything that is stopping the vendor from viewing their products.

Last edit: 10 years 5 months ago by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg0ODA2LXNldHRpbmctdXAtYWxsb3ctdmVuZG9yLXNlbGVjdG9yP3RtcGw9bWFya2Rvd24=) 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 5 months ago [\#241640](#241640) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241640 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Hi,

Please check that you still right have the setting "front-end editing" configured to "yes".
[ www.hikashop.com/support/documentation/1...tml#config\_main\_main](https://www.hikashop.com/support/documentation/143-hikamarket-configuration.html#config_main_main)

About the notice message ; it is not a blocking error.
On production sites, the PHP notices should not be displayed but they are useful in test/development in order to perform some debug in the code.
We already put in patch in HikaMarket few weeks ago and that patch would be include in the next release.
In the order class, for the line 1270, you can replace Code:

$n = is_string($order-&gt;$k) ? $order-&gt;$k : serialize($order-&gt;$k);

By Code:

if(!isset($order-&gt;$k)) continue; $n = is_string($order-&gt;$k) ? $order-&gt;$k : serialize($order-&gt;$k);

Regards,

---

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

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 5 months ago [\#241659](#241659) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241659 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Thanks for that code but now I'm getting another error message.
Code:

Notice: Undefined property: stdClass::$order_payment_price in /websites/mc/mywebsite.com.au/administrator/components/com_hikamarket/classes/order.php on line 1286

but at least I'm getting the thank you message appearing now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg0ODA2LXNldHRpbmctdXAtYWxsb3ctdmVuZG9yLXNlbGVjdG9yP3RtcGw9bWFya2Rvd24=) 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 5 months ago [\#241671](#241671) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#241671 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Hi,

In the file, for your line 1286 ; you can put the same kind of patch that the previous one.
Your line 1286 should be that one: Code:

$v = $order-&gt;$k;

And you can place that code Code:

if(!isset($order-&gt;$k)) continue; $v = $order-&gt;$k;

As the previous patch ; it is already in HikaMarket and will be include in the next release.

Regards,

---

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

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

- **[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")**
- [![wernejo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/crossing_kangaroo.png)](/forum/user/38697-wernejo "View wernejo's Profile") Topic Author
- [ Offline](/forum/user/38697-wernejo)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 5 months ago [\#242905](#242905) by [wernejo](/forum/user/38697-wernejo "View wernejo's Profile")  Replied by *[wernejo](/forum/user/38697-wernejo "View wernejo's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#242905 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Thanks for your help but I've realized that I've been getting another error appearing on the view order details page when I've logged in as a vendor.

This is the error I'm getting

Warning: Invalid argument supplied for foreach() in /websites/mc/website.com.au/components/com_hikamarket/views/ordermarket/view.html.php on line 453

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg0ODA2LXNldHRpbmctdXAtYWxsb3ctdmVuZG9yLXNlbGVjdG9yP3RtcGw9bWFya2Rvd24=) 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 5 months ago [\#242932](#242932) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Setting up "Allow vendor selector"](/forum/23-market-how-to/884806-setting-up-allow-vendor-selector#242932 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.0 -- Joomla version -- : 3.5.1  I'm trying to setup a vendor selection option at the checkout and am having difficulty trying to figure out what the process is to get this working.  I've looked at the documentation but it hasn't got much detail about how to set it up.  I've set up my vendors and checked all the settings but I'm unable to find what I'm looking for. Any help would be great!")*

Hi,

Thanks for the report.
I will continue my investigation in order to understand why you do not have any tax order info.
Temporally, in order to avoid that problem, please add just before the line 453 and his "foreach" Code:

if(empty($order-&gt;order_tax_info)) $order-&gt;order_tax_info = array();

Regards,

---

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

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

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