I have one store. Is there a way through code where I can allow everyone to buy product when they click a link from WIX website #1, but only let wholesalers buy products when they come from a link on WIX website #2? I’m trying to do it using collections where website #1 uses a URL pointing to collection #1 and website #2 uses a URL pointing to collection #2. Then maybe I can setup the product page to have some logic where it detects the collection it came from. If product comes from collection #1, then allow buying whether logged in or using guest account. If buying comes from website #2 using collection #2, then prevent buying (or hide the “Buy” button) unless logged in account has a tag of “wholesaler”. Collection #1 and Collection #2 show the same products. I’m probably overthinking this and also trying to save money by not buying an app that may or may not be able to do what I am after. Any thoughts?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Restrict customers from buying products in multiple collections? | 2 | 66 | August 1, 2024 | |
| Can Not buy from Collection B until product from Collection A is in cart | 3 | 41 | July 28, 2026 | |
| Password protect a collection on site for wholesale customers only | 1 | 61 | December 14, 2023 | |
| Password Protect Specific URL based on Customer Email Address | 1 | 29 | December 12, 2023 | |
| Customers can only buy from one collection | 1 | 63 | August 3, 2021 |