Re: DUAL Pricing - add "plus sales tax"-message for wholesale-group
Hi madfastride,
thank you for your immediate solution.
I was missing that file in my current template (method one).
I changed the original file by adding "plus GST" and uploaded it.
Now everything works fine.
Wholesalers can even see the retailprice at the same time.
... till later ...
Matt
Re: DUAL Pricing version 2
I downloaded the new dual pricing version 2 from the zen website and i am using zen cart 1.3.8a got everything installed including the sql. I can see the new box when editing customers and if i put that to 1 that means that customer once logged on will get whole sale pricing right? Well then i went to the product and under whole sale pricing adding a price "$2.40" Something like that. I didnt do the dashes because i only need one whole sale pricing, at least at the moment. I logged on as the user and i see no difference. I have gone all the way through the check out process. I would like to be able to have this where i can have a retail price and wholesale price so when the user logs on they will immediately see the price they will pay in the category view, product listing and everywhere. Is this possible. Please anyone have some info on what i could be doing wrong. Thanks
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Website Rob
If I understand correctly how this Mod works, once installed and on the Edit/New Product page, I should see an input box for Wholesale pricing.
I only see:
Tax Class:
Products Price (Net):
Products Price (Gross):
I have the same problem , no fields to put in the wholesale price.
Installed first Zen Cart 1.3.8a clean install, next dual pricing and after easy populate.
Who can help me to fix this problem?
Thanx, Andre
Re: DUAL Pricing version 2
Quote:
Originally Posted by
welchyboy
Well then i went to the product and under whole sale pricing adding a price "$2.40" Something like that. Thanks
Try not adding the "$" it should work then. If there are other problems it could be in the install. Double check that this file is correct and make sure to place it in the folder of the template you are currently using where the file says "YOUR_TEMPLATE"; includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
Quote:
Originally Posted by
welchyboy
I would like to be able to have this where i can have a retail price and wholesale price so when the user logs on they will immediately see the price they will pay in the category view, product listing and everywhere. Is this possible.
This is the way this module works so if you can get it running you will be golden.
Re: DUAL Pricing version 2
Quote:
Originally Posted by
andre
I have the same problem , no fields to put in the wholesale price.
Installed first Zen Cart 1.3.8a clean install, next dual pricing and after easy populate.
Who can help me to fix this problem?
Thanx, Andre
Andre,
You might try checking that this file is correctly updated in your site. It could be an FTP error that it didn't load onto your server correctly or something similar. Let me know if your having more troubles.
admin/inlcudes/modules/product/collect_info.php
Product Qty Units (multiples) ONLY for wholesale customers?
Hi all,
I desperately need to figure out SOME way to get this done, and I'm sure there has to be a solution somewhere...I just can't figure it out.
Dual Pricing works *great* for one thing we need, which is just wholesale pricing for our retail customers. However, here's the problem. We need regular customers to be able to order whatever number of units (usually it will be 1 only of a product), but wholesalers must only be able to order units in multiples of 4 (our wholesale 'packs') or 6 in the case of one product.
I am thinking maybe some combination of Dual Pricing with Product Qty Units, although i'm all for another solution if there is one.
I know enough PHP to get around, but not Zen Cart as of yet and am still learning how it works. I know basically I need to find a way to display one ordering option to regular customers and another to retailers/wholesale in multiples of a specified number.
Is there some way I can achieve this?
Thanks!
Skye
Re: DUAL Pricing version 2
When I was first setting up a Zen version of our sites, I put a lot of thought into making just one site that could handle both retail and wholesale customers. I ended up not doing it. As you can see from the links below, we have completely separate retail and wholesale sites.
In our case we use separate domain names, since both names had been on the web for years and were high in Google. But I believe the same thing could be done using a single domain and the domain style used by so many large companies. For example, www .apple.com, developer.apple.com, and_so_on.apple.com.
So you could have retail.skye.com and wholesale.skye.com, both under www .skye.com (or whatever your domain is.)
You'd then have a full install of ZC in each part of the site, with separate prices and minimums and sales and whatever else you need.
HTH
Rob
Re: DUAL Pricing - add "plus sales tax"-message for wholesale-group
Quote:
Originally Posted by
madfastride
Matt, Which one do you want to do? You could modify the wording of "Whole Sale Price:" to something more suitable on line 94 of includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
The other method would be to add another check for a whole sale customer and display a notice in the header. This would probably happen in your includes/header.php file or your could use the messageStack feature built into Zencart (gives a notice like when you forget to delete your install directory).
The code to check for a wholesale customer looks like this. You can change your template to display a notice anywhere you want using this in any file you chose.
PHP Code:
if ($_SESSION['customer_id']) {
$customers_id = $_SESSION['customer_id'];
$customer_check = $db->Execute("select * from " . TABLE_CUSTOMERS . " where customers_id = '$customers_id'");
if ($customer_check->fields['customers_whole'] != "0") {
CODE YOU WANT TO USE IF CUSTOMER IS WHOLE SALE
}
}
I can't get this code to work. Tried inserting it in tpl_product_info_display to simply output a message -- echo("you are wholesale!"); in place of "CODE YOU WANT..." and it breaks the page.
It should work anywhere in the code right? Anyone get this to work?
Re: DUAL Pricing version 2
Quote:
Originally Posted by
rstevenson
When I was first setting up a Zen version of our sites, I put a lot of thought into making just one site that could handle both retail and wholesale customers. I ended up not doing it. As you can see from the links below, we have completely separate retail and wholesale sites.
In our case we use separate domain names, since both names had been on the web for years and were high in Google. But I believe the same thing could be done using a single domain and the domain style used by so many large companies. For example, www .apple.com, developer.apple.com, and_so_on.apple.com.
So you could have retail.skye.com and wholesale.skye.com, both under www .skye.com (or whatever your domain is.)
You'd then have a full install of ZC in each part of the site, with separate prices and minimums and sales and whatever else you need.
HTH
Rob
I'm really hoping to not have to do this, but it may be the best solution in the end. Mostly I'm concerned with setting my clients up with multiple admin panels, multiple databases, two places to update/change products etc, though in the end it will allow all the flexibility we need on the front end.
I started digging deeper in the code, it's a bit intimidating for my skill level, but maybe I can write something to take care of this.
I don't want to go start implementing a different cart, but are there others that are more flexible in this arena of wholesale/quantities/etc support?
Re: Product Qty Units (multiples) ONLY for wholesale customers?
Quote:
Originally Posted by
slowawake
Hi all,
I am thinking maybe some combination of Dual Pricing with Product Qty Units, although i'm all for another solution if there is one.
Skye
Looks like your on the right path. The code you have question about and can't get working does work.
PHP Code:
<?
if ($_SESSION['customer_id']) {
$customers_id = $_SESSION['customer_id'];
$customer_check = $db->Execute("select * from " . TABLE_CUSTOMERS . " where customers_id = '$customers_id'");
if ($customer_check->fields['customers_whole'] != "0") {
// YOUR CODE
}
}
?>
I've done several customizations of this module wrapping that code around different elements. You will need to wrap it around portions of Product Qty Units so that it is only activated when a whole sale customer is logged in. As far as the troubles your having with that code try turning on strict error reporting to see what the actual problem is with the site. To do this create the file YOUR_DOMAIN/includes/local/configure.php
and place in the file the following code
PHP Code:
<?php
define('STRICT_ERROR_REPORTING', true);
?>
Reload the page your having troubles with and sort through all the errors. The fatal error is the one breaking your site (Inherently the last error). Check to see if you can fix that. Remember to delete or note out the define() line once you're done so that the errors aren't always showing.