Post by worcesterwebstudio » Sun Jul 12, 2020 11:45 pm

Hello,

We have a multi-store OpenCart 2.3.0.2 website with two store fronts. Currently, all customers are assigned the default customer group when they signed up, but what we would like to do is automatically assign their group based on which of the two stores they sign up on. For example, if someone registers on Store A, they will be assigned to 'Store A Customer Group', but if they sign up on Store B they will be assigned to 'Store B Customer Group'. Is this possible?

We wouldn't need to apply this retrospectively, but if we were also able to do this then that would be a bonus, though we should be able to do this via a database query if there isn't an existing solution available.


Posts

Joined
Mon Feb 13, 2017 11:15 pm

Post by rjcalifornia » Mon Jul 13, 2020 12:38 pm

worcesterwebstudio wrote:
Sun Jul 12, 2020 11:45 pm
Hello,

We have a multi-store OpenCart 2.3.0.2 website with two store fronts. Currently, all customers are assigned the default customer group when they signed up, but what we would like to do is automatically assign their group based on which of the two stores they sign up on. For example, if someone registers on Store A, they will be assigned to 'Store A Customer Group', but if they sign up on Store B they will be assigned to 'Store B Customer Group'. Is this possible?

We wouldn't need to apply this retrospectively, but if we were also able to do this then that would be a bonus, though we should be able to do this via a database query if there isn't an existing solution available.
It is possible with this extension:

https://www.opencart.com/index.php?rout ... n_id=22848

There's also a free extension to let users choose the customer group, which you could change according to your needs (if you cannot get the extension linked above):

https://www.opencart.com/index.php?rout ... n_id=11112

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by worcesterwebstudio » Mon Jul 13, 2020 11:09 pm

Thank you!


Posts

Joined
Mon Feb 13, 2017 11:15 pm

Post by worcesterwebstudio » Thu Jul 23, 2020 6:11 pm

rjcalifornia wrote:
Mon Jul 13, 2020 12:38 pm
worcesterwebstudio wrote:
Sun Jul 12, 2020 11:45 pm
Hello,

We have a multi-store OpenCart 2.3.0.2 website with two store fronts. Currently, all customers are assigned the default customer group when they signed up, but what we would like to do is automatically assign their group based on which of the two stores they sign up on. For example, if someone registers on Store A, they will be assigned to 'Store A Customer Group', but if they sign up on Store B they will be assigned to 'Store B Customer Group'. Is this possible?

We wouldn't need to apply this retrospectively, but if we were also able to do this then that would be a bonus, though we should be able to do this via a database query if there isn't an existing solution available.
It is possible with this extension:

https://www.opencart.com/index.php?rout ... n_id=22848
It turns out that this extension doesn't do what we want - it doesn't change the groups at all, it just restricts users to specific stores. What I would like us to set a user group based on the store they register. Do you know of any other way to achieve this?


Posts

Joined
Mon Feb 13, 2017 11:15 pm

Post by rjcalifornia » Tue Jul 28, 2020 5:57 am

worcesterwebstudio wrote:
Thu Jul 23, 2020 6:11 pm
rjcalifornia wrote:
Mon Jul 13, 2020 12:38 pm
worcesterwebstudio wrote:
Sun Jul 12, 2020 11:45 pm
Hello,

We have a multi-store OpenCart 2.3.0.2 website with two store fronts. Currently, all customers are assigned the default customer group when they signed up, but what we would like to do is automatically assign their group based on which of the two stores they sign up on. For example, if someone registers on Store A, they will be assigned to 'Store A Customer Group', but if they sign up on Store B they will be assigned to 'Store B Customer Group'. Is this possible?

We wouldn't need to apply this retrospectively, but if we were also able to do this then that would be a bonus, though we should be able to do this via a database query if there isn't an existing solution available.
It is possible with this extension:

https://www.opencart.com/index.php?rout ... n_id=22848
It turns out that this extension doesn't do what we want - it doesn't change the groups at all, it just restricts users to specific stores. What I would like us to set a user group based on the store they register. Do you know of any other way to achieve this?
Not really. You will have to code it yourself or hire someone to do it.

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by worcesterwebstudio » Tue Jul 28, 2020 4:04 pm

rjcalifornia wrote:
Tue Jul 28, 2020 5:57 am
worcesterwebstudio wrote:
Thu Jul 23, 2020 6:11 pm
rjcalifornia wrote:
Mon Jul 13, 2020 12:38 pm


It is possible with this extension:

https://www.opencart.com/index.php?rout ... n_id=22848
It turns out that this extension doesn't do what we want - it doesn't change the groups at all, it just restricts users to specific stores. What I would like us to set a user group based on the store they register. Do you know of any other way to achieve this?
Not really. You will have to code it yourself or hire someone to do it.
OK, thanks for the update.


Posts

Joined
Mon Feb 13, 2017 11:15 pm

Post by IP_CAM » Tue Jul 28, 2020 5:27 pm

how about this one ? It would only have to be rewritten, to match OC-2.x, I assume ...
https://www.opencart.com/index.php?rout ... n_id=37428

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by worcesterwebstudio » Tue Jul 28, 2020 10:39 pm

IP_CAM wrote:
Tue Jul 28, 2020 5:27 pm
how about this one ? It would only have to be rewritten, to match OC-2.x, I assume ...
https://www.opencart.com/index.php?rout ... n_id=37428
We'll take a look, thanks!


Posts

Joined
Mon Feb 13, 2017 11:15 pm

Post by rizwan1001 » Mon Jan 11, 2021 9:11 pm

worcesterwebstudio wrote:
Sun Jul 12, 2020 11:45 pm
Hello,

We have a multi-store OpenCart 2.3.0.2 website with two store fronts. Currently, all customers are assigned the default customer group when they signed up, but what we would like to do is automatically assign their group based on which of the two stores they sign up on. For example, if someone registers on Store A, they will be assigned to 'Store A Customer Group', but if they sign up on Store B they will be assigned to 'Store B Customer Group'. Is this possible?

We wouldn't need to apply this retrospectively, but if we were also able to do this then that would be a bonus, though we should be able to do this via a database query if there isn't an existing solution available.
This is an old thread but this might be helpful for someone looking for answer to the same question I haven't tried it yet but I believe it should work.

1. Goto System>>Settings >> Edit Store Settings

2. In Store Settings, go to "Option"

3. In the "Option" Tab, Scroll down to "Account" section

4. and within "Account" section two fields will be of interest.
In "Customer Group" drop down, select your default group for your store.
In "Customer Groups" check box fields, check the customer groups you want to make available in your store that your customers can select at the time of sign up.

Screen shots included below.

I hope it helps.

Attachments

1.jpg

1.jpg (66.69 KiB) Viewed 1075 times

2.jpg

2.jpg (81.93 KiB) Viewed 1075 times

3.jpg

3.jpg (70.04 KiB) Viewed 1075 times


Newbie

Posts

Joined
Sat Feb 01, 2020 9:19 pm

Post by straightlight » Tue Jan 12, 2021 2:01 am

Steps like these above should be added to the FAQ. :)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by pakchilweb » Mon Jan 17, 2022 8:01 am

customer module like below i need:

it can possible

Like:
demo@demo.com = store_id 1 customer_id 1
demo@demo.com = store_id 2 customer_id 2
demo@demo.com = store_id 3 customer_id 3

https://www.opencart.com/index.php?rout ... n_id=22848

this extension exist when i buy i tested but not working.

any other solution exist ?

also if possible a module for groups on multibased auto change the group when login with same email to a 2nd store and auto change group from store1group to store2group.

please guys help me.

New member

Posts

Joined
Sun Jul 15, 2018 7:54 am
Who is online

Users browsing this forum: No registered users and 209 guests