dacystorm Posted November 20, 2011 Posted November 20, 2011 Hello, i'm making a wholesale webshop, I need to make the registration by request only (no registration form), i will create the account if asked. I couldn't find a contribution, can someone please help me? 2.3.1 version in use.
FIMBLE Posted November 20, 2011 Posted November 20, 2011 How would you like to operate this? Password protect the whole site which some do, disable prices and replace with "register to see prices", simple terms you just remove the create account links, and possibly add a redirect to the create_account.php page in case someone types the URL in. or you can just edit the create an account link to go to the contact us page where you can add text to guide users Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
dacystorm Posted November 23, 2011 Author Posted November 23, 2011 Thank you for the information. Also i would need a info how to disable the prices from showing until you have logged in, is this possible? Version 2.3.1
FIMBLE Posted November 23, 2011 Posted November 23, 2011 open the file catalog (if you have it) / includes / classes / currencies.php find at the bottom of that file function display_price($products_price, $products_tax, $quantity = 1) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } REPALCE it with function display_price($products_price, $products_tax, $quantity = 1) { if (tep_session_is_registered('customer_id')) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } else { return 'Login to view'; } } Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
dacystorm Posted November 23, 2011 Author Posted November 23, 2011 Thank you for your help, much appreciated Can i bother you with one more question?: Is there a way to make a different prices for different customergroups?
FIMBLE Posted November 23, 2011 Posted November 23, 2011 Yes from the add ons section search for SPPC seperate pricing per customer Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
dacystorm Posted November 25, 2011 Author Posted November 25, 2011 open the file catalog (if you have it) / includes / classes / currencies.php find at the bottom of that file function display_price($products_price, $products_tax, $quantity = 1) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } REPALCE it with function display_price($products_price, $products_tax, $quantity = 1) { if (tep_session_is_registered('customer_id')) { return $this->format($this->calculate_price($products_price, $products_tax, $quantity)); } else { return 'Login to view'; } } Nic One more question about this, i changed the code and it works, but after i have added a product (before logging), the price shows in the shopping cart total, is there a way to remove this also from the nonlogged user?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.