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

#   No Vendor Paypal email but customer can still buy

##

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173138](#173138) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173138 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")* was created by *[christofu](/forum/user/31338-christofu "View christofu's Profile")*

-- HikaShop version -- : 2.3.3
-- HikaMarket version -- : 1.4.4
-- Joomla version -- : 3.3.3

Hi,
I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout

In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration

I am open for suggestions as to how to prevent this for example:

- should everyone who registers just become a customer, and then there is a second step to be come a vendor?
- or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?

looking for the simplest method!

thanks

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

12 years 1 month ago -  12 years 1 month ago [\#173165](#173165) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173165 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

The solution 1 is easy to do.

The solution 2 could be done using a custom plugin ; you can "say" that a vendor without a valid paypal email will be "deactivated".
So using the vendor triggers (onBeforeVendorCreate / onBeforeVendorUpdate) you can check the vendor and change the value of a custom field like "vendor_valid" depending the paypal email in the vendor.
And then, in the trigger "onBeforeProductListingLoad" you can replace the filter Code:

$filters[] = '(hikam_vendor.vendor_published IS NULL OR hikam_vendor.vendor_published = 1)';

By Code:

$filters[] = '(hikam_vendor.vendor_published IS NULL OR (hikam_vendor.vendor_published = 1 AND hikam_vendor.vendor_valid = 1))';

The "vendor_published" will block the HikaMarket interface, so using that field won't be useful because the user won't be able to access to his vendor panel to change his paypal email.
Adding some code with the trigger of the quantity check can be useful too, so it won't be possible to add products of the non valid vendors.

Regards,

---

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

Last edit: 12 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173176](#173176) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173176 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

awesome thanks Jerome,

I'll play around with solution 2 and see which one suits:)

with regards to solution 1, I set the registration to "automatic validation" which I assume automatically registers a vendor only when they have specifically asked to be a vendor

after a user registers on the site, I set up a menu item whereby a user could request to become a vendor using the "vendor edition" menu item type.

when a user clicks on that menu item it sends an error message saying you are not a vendor and do not have access.

have I got the logic right about how this works?
have I done something wrong?

cheers

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

12 years 1 month ago [\#173180](#173180) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173180 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

The vendor edition is working fine during the latest tests.
When you test it, where you logged with an account ?
Does this account have a vendor assigned ? A unpublished vendor ?
Did you tried the page without being logged ?
What's your HikaMarket configuration for the vendor registration ?

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173308](#173308) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173308 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

> When you test it, where you logged with an account ?

yes

> Does this account have a vendor assigned ? A unpublished vendor ?

no &amp; no - signed up a couple of new accounts with the same results

> Did you tried the page without being logged ?

yes - same result. It currently tries to go to the "edit your vendor" page, but there is nothing there

> What's your HikaMarket configuration for the vendor registration ?

attached: I have tried it with "Paypal account required" and "ask for a password" on too with the same result

- [ ![vendor-reg-options.jpg](/forum/attachment/19817) ](/forum/attachment/19817 "...eg-options.jpg") [ ](/forum/attachment/19817?download=1 "...eg-options.jpg")

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

12 years 1 month ago [\#173311](#173311) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173311 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

Please edit the file "components/com_hikamarket/controllers/vendor.php" and replace Code:

if($vendor != null &amp;&amp; !hikamarket::acl('vendor_edit'))

By Code:

if(!empty($vendor) &amp;&amp; !hikamarket::acl('vendor_edit'))

f you will have the problem, please use the code Code:

if(!empty($vendor) &amp;&amp; !hikamarket::acl('vendor_edit')) { var_dump($vendor); exit; return hikamarket::deny('vendor', JText::sprintf('HIKAM_ACTION_DENY', JText::_('HIKAM_ACT_VENDOR_EDIT'))); }

It will display the debug of the vendor instead of redirect you.
Regarding the code, you can get the message only when the user have a vendor assigned so we have to know what data is return by the function loadVendor in your case.

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173358](#173358) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173358 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

thanks,

the error shows "please login as vendor"

so it doesnt take you to a vendor registration page, as I expected it would do if you are logged in as a user/customer

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

12 years 1 month ago [\#173363](#173363) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173363 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

Pleae provide me some accesses ; you are not using the right menu, that's just not possible you got this message with the vendor edition menu. You're using the vendor cpanel or another view, but not the vendor edition...

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173412](#173412) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173412 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

yes I know it sounds like that was what it is trying to do - so I checked and menu type is defnitely hikamarket/vendor edition

i'll send you admin thanks

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

12 years 1 month ago [\#173441](#173441) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173441 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

You got some view overrides.
I fixed one element in your views but I don't have a simple account to test the rest of the process.

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173457](#173457) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173457 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

thanks,

I can apply to be a vendor now - what views were altered that affect vendor edition?

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

12 years 1 month ago [\#173458](#173458) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173458 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

The views were : "vendor &#124; form" and "vendor &#124; registration".
The fact is that the vendor registration has been improved in the latest version, it is now possible to register the user and the vendor in a single step.
If you want to manage the user+vendor registration, I will recommend you to save your view override, restore the original views and re-made your modifications. Otherwise, with the little modification I made, it should work.

Regards,

---

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

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago [\#173468](#173468) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173468 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

thanks,

I originally set the registration to include both but I want to have customers register first with minimal details, then have the customers who wish to sell register to become a vendor as a separate second step.

Seems like its working ok now since your workaround but perhaps its best I restore the original and get it working so when upgrades happen it doesnt affect the process!

I'll let you know how this goes:)

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

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

Less More

- Posts: 108
- Thank you received: 6
-
-

12 years 1 month ago -  12 years 1 month ago [\#173511](#173511) by [christofu](/forum/user/31338-christofu "View christofu's Profile")  Replied by *[christofu](/forum/user/31338-christofu "View christofu's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173511 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi Jerome,

the fallout seems to be a 500 error when trying to access the vendor form page from the vendor cpanel
I'm not sure why as there shouldnt have been any changes to the vendormarket/cpanel page?

edit:
I re-applied the code you added above and its working ok.

question:
will future updates include the code you gave me in controllers/vendor.php ? I just want to keep an eye on any adjustments I might need to make when new updates occur

Last edit: 12 years 1 month ago by [christofu](/forum/user/31338-christofu "View christofu's Profile"). Reason: found part solution

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

12 years 1 month ago [\#173514](#173514) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[No Vendor Paypal email but customer can still buy](/forum/23-market-how-to/871878-no-vendor-paypal-email-but-customer-can-still-buy#173514 "-- HikaShop version -- : 2.3.3 -- HikaMarket version -- : 1.4.4 -- Joomla version -- : 3.3.3  Hi, I have noticed that a customer can still attempt to purchase a product from a vendor who has not set a paypal account - naturally this causes a problem at checkout  In my login I have automatically made everybody a vendor, however I dont want to force everybody to have to enter all vendor details at registration  I am open for suggestions as to how to prevent this for example:  &#42; should everyone who registers just become a customer, and then there is a second step to be come a vendor?  &#42; or can I get creative and do something whereby if a customer does not have a paypal email, the add to cart button does not appear?  looking for the simplest method!  thanks")*

Hi,

When I provide a patch, I generally include it into HikaMarket (with or without confirmation).
So yes, this patch will be in the next release.

Regards,

---

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

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

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