| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Wholesale only price problem | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Wholesale only price problem
Has anyone got over this problem?
I am setting up a cart for a wholesale only company. They want everyone to see all products but no prices. They will issue user accounts to those that can buy wholesale and therefore see wholesale prices. I set up all the products with a zero value but because the wholesale price is higher than the zero retail nothing shows up. As soon as I enter a retail price higher than a wholesale price it displays correctly. Does anyone have a tweak for this so I can get this working correctly? Heres hoping
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
#2
|
|||||||||
|
|||||||||
Did you get this solved?
My solution would be to use an {if} statement around the pricing display in product.tpl and products.tpl. You would have to wrap the regular pricing as well as the quantity discount pricing statements in code similar to this {if login eq ""}Contact us for wholesaler pricing{else} SHOW PRICING{/if} |
|||||||||
#3
|
|||||||
|
|||||||
Thanks, I did get around it. The only problem I hit was the client didn't have any retail prices and didn't want to display anything to a non- wholesale visitor. I got it to display "Wholesale Only" in place of a retail price but I had to make every retail price $1000 as when I set them to zero no wholesale price would display. It seemed that because the wholesale price was higher than the zero retail it wouldn't display to wholesale users so, we had to bump it up to a silly price for all so they would display. I am sure there could have been a better way but the client wanted it quick and it's working very well as it is.
Thanks again
__________________
_____________________________________ 4.6.6 Gold Plus and 4.7.4 Gold MySQL server 5.6.29 PHP 5.5.34 |
|||||||
#4
|
|||||||
|
|||||||
Quote:
Is it possible to do something like this but with the retail prices? I want the customer to see prices when logged in only.
__________________
Core version: 5.3.2.7 PHP: 5.6.29 MySQL server: 5.5.5-10.0.27-MariaDB-cll-lve (InnoDB engine support enabled) Web server: Apache Operating system: Linux XML parser: found GDLib: found (0) Translation driver: Database Curl version: 7.29.0 |
|||||||
#5
|
|||||||||
|
|||||||||
Code:
or if you just want it hidden Code:
That will work. |
|||||||||
#6
|
|||||||
|
|||||||
Quote:
Thanks abpboss, I will try that. One more question, do you know how this can be done only for some products maybe using the extra fields? I know it could be done with the older 3.xx versions, but on 4.xx I could not figure this one out. Thanks.
__________________
Core version: 5.3.2.7 PHP: 5.6.29 MySQL server: 5.5.5-10.0.27-MariaDB-cll-lve (InnoDB engine support enabled) Web server: Apache Operating system: Linux XML parser: found GDLib: found (0) Translation driver: Database Curl version: 7.29.0 |
|||||||
#7
|
|||||||||
|
|||||||||
Sorry, maybe someone else could help you with that. I'm not sure what it would be.
|
|||||||||
#8
|
|||||||
|
|||||||
How about using "Memberships"? I was disappointed with "moderated" memberships, as then all users had to be members (there are no non-moderated defaults) and verified to buy. But, I made the memberships non-moderated and now no one can actually sign-up as a member, but they must be assigned membership in the admin. That would fit wholesale customers. Thus, non-moderated meberships still count, but the user doesn't ever see them.
You could then have displayed "" or whatever by using membership and login statements, like in /main/register_account.tpl for example ... Code:
- mike
__________________
4.1.9 |
|||||||
#9
|
|||||||
|
|||||||
Try this
I have done this before.
i do not want to give the site out... please PM for the site (and including your website in the PM, i dont' want to give out to may be one of my dealer) We have 4 pricing levels. If you are end-user see nothing if enduser registered (trying....) still see nothing (auto-assigned membership to 'end-user') if the end user is requested for wholesaler membership then he send a requst to us.. then we assigned him to ... membeship we think it is for him. each membership can see their own pricing and won't be able to see other pricing. (except end-user... se no pricing) The mod i created is also be able to 'import pricing' for each membership levels. (this is great coz we have more than 1000 of products) Let me know if you want something like this... unfortunately.. there will be some charge tho.. if you required. It took me more than weeks to get it done.
__________________
X-Cart version 4.x (Most likely will be the latest version) |
|||||||
|
|||
X-Cart forums © 2001-2020
|