prestatent Posted October 27, 2013 Share Posted October 27, 2013 Prestashop 1.5.4.1 Hi I don't know if this is the correct place to ask this question but here goes: I have 2 different types of users on my site: - discount user - guest user I want the guest user to be able to order products regardless of stock level. I want the discount user to be able to order products only if the stock is available. My thinking at the moment is to have two different versions of the software running. One version where stock management is enabled and the other where stock management is disabled. The same database is accessed but one version of the software is installed on a sub-domain. Is this possible? Thanks for any help or pointers. Link to comment Share on other sites More sharing options...
prestatent Posted October 27, 2013 Author Share Posted October 27, 2013 Anyone? Should I post this in a different forum? Link to comment Share on other sites More sharing options...
vekia Posted October 27, 2013 Share Posted October 27, 2013 you posted it in correct section, because feature like this need some custom development. If i were you, in template files where add to cart button appears i will add code to: - if condition to check customer group and customer quantity. for example, guest group id = 2 {if customer_group == 2 AND $product->quantity <=0} DON'T ALLOWED TO ORDER {else} ALLOWED TO ORDER - DISPLAY ADD TO CART HERE {/if} Link to comment Share on other sites More sharing options...
prestatent Posted October 27, 2013 Author Share Posted October 27, 2013 Thanks Vekia. This is another possibility. Is it easy enough to have two separate installations of Prestashop with one being on a sub-domain to access the same database? Link to comment Share on other sites More sharing options...
vekia Posted October 27, 2013 Share Posted October 27, 2013 You can do it with multistore feature Link to comment Share on other sites More sharing options...
prestatent Posted October 27, 2013 Author Share Posted October 27, 2013 Thanks. I'll try this out. I've not even looked at this yet so this may be the solution that I'm looking for. Cheers. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now