-
Re: DUAL Pricing v2
Has anyone managed to install both the wholesale pricing add-on and the Admin Login as Customer add-on? We installed the wholesale pricing months back and have found that we're not using it. But we really do need the Admin Login as Customer features. I tried to install both on my test site, and nothing worked afterward. I had to delete all the files in the Admin Login in order to get to the admin side of the test site again. Since the wholesale pricing add-on changes the database, I'm afraid to try removing that, but I need to have the Admin Login feature. Is it possible to get them to work together so I don't have to risk trying to uninstall the wholesale pricing?
-
Re: DUAL Pricing v2
Use encrypted master password instead
-
Re: DUAL Pricing v2
Quote:
Originally Posted by
HeleneWallis
Has anyone managed to install both the wholesale pricing add-on and the Admin Login as Customer add-on? We installed the wholesale pricing months back and have found that we're not using it. But we really do need the Admin Login as Customer features. I tried to install both on my test site, and nothing worked afterward. I had to delete all the files in the Admin Login in order to get to the admin side of the test site again. Since the wholesale pricing add-on changes the database, I'm afraid to try removing that, but I need to have the Admin Login feature. Is it possible to get them to work together so I don't have to risk trying to uninstall the wholesale pricing?
Yes we have successfully installed both on several sites. As long as you insert the code in the correct locations it all runs smooth as silk!
-
Re: DUAL Pricing v2
Quote:
Originally Posted by
dbltoe
Use encrypted master password instead
Thanks, @dbltoe! I've got a couple of sites that integrate "Dual Pricing" and "Encrypted Master Password" (https://www.zen-cart.com/downloads.php?do=file&id=94) successfully on Zen Cart 1.5.5x.
-
Re: DUAL Pricing v2
Thanks, Twitchtoo, I'll give it another try. I'd be happy to get rid of the wholesale pricing. Nothing wrong with it, it's working fine, but we just aren't using it after all. Our wholesalers don't want to order online, they want to talk directly to a salesperson, so it hasn't been used. But we definitely do need the Admin Login as Customer.
-
Re: DUAL Pricing v2
Quote:
Originally Posted by
HeleneWallis
Thanks, Twitchtoo, I'll give it another try. I'd be happy to get rid of the wholesale pricing. Nothing wrong with it, it's working fine, but we just aren't using it after all. Our wholesalers don't want to order online, they want to talk directly to a salesperson, so it hasn't been used. But we definitely do need the Admin Login as Customer.
This has become quite common :) We have been developing admin side mods to support both front end retail and backend phone/store sales to handle both web-only and bricks and mortar businesses. You could keep the wholesale modules installed as they do integrate into a lot of other features to assist with up-selling or separating products into groups front or backend. Plus the code keeps things split... which helps with the new wholesale reporting modules ;)
-
Re: DUAL Pricing v2
Hi,
I would like to ask for something that is bugging me since the early versions of this module. Accordingly that I've installed it and it works great, when You set attributes on a item with both retail and wholesale values even if a Wholesaler customer log, in the Product page he will see the attributes with the "(+€X.XX) showing always the RETAIL value. For instance lets make an example, I have an item with a base price of €5.00 (wholesale €2.50) with 2 attributes (let say 2 size, small and big), the first add nothing more, just the base price, the "Big" will add €6.00 (wholesale €3.00). So we should see something like:
Retail
* Small
* Big (+€6.00)
Wholesale (should be)
* Small
* Big (€3.00)
Unfortunately actually it show always the first, ignoring the wholesale values for attributes.
I'm trying to find a solution, actully I'm working on modifying the file ...includes/modules/Your_template/attributes.php and precisely the following lines:
PHP Code:
// normal price
if ($new_attributes_price == 0) {
$products_options_display_price= '';
} else {
$products_options_display_price= ATTRIBUTES_PRICE_DELIMITER_PREFIX . $products_options->fields['price_prefix'] .
$currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ATTRIBUTES_PRICE_DELIMITER_SUFFIX;
The last 2 lines control what is shown after the Attribute name and should shown or the retail value or the wholesale depending if the customers has that status (and is logged ofcourse).
As soon as I will make any progression i'll post it, if someone better than me at php would like to help pls just ######## in :D
-
Re: DUAL Pricing v2
After e few try I've come up this this partial solution:
in ...includes/modules/Your_template/attributes.php I've made this modifications (line 181...):
PHP Code:
// normal price
if ($new_attributes_price == 0) {
$products_options_display_price= '';
} else {
if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) {
$products_options_display_price= ATTRIBUTES_PRICE_DELIMITER_PREFIX . $products_options->fields['price_prefix'] .
$currencies->display_price([COLOR="#FF0000"][B]$new_attributes_price_w[/B][/COLOR], zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ATTRIBUTES_PRICE_DELIMITER_SUFFIX;
} else {
$products_options_display_price= ATTRIBUTES_PRICE_DELIMITER_PREFIX . $products_options->fields['price_prefix'] .
$currencies->display_price($new_attributes_price, zen_get_tax_rate($product_info->fields['products_tax_class_id'])) . ATTRIBUTES_PRICE_DELIMITER_SUFFIX;
}
}
}
}
The $new_attributes_price_w should be the key to its working. Actually if the customer is not logged or doesn't have Wholesale status it will show the correct (+€something) but if it has wholesale staus and log it anly show a (+€0.00). If some one can help with it i'll appreciate :smile:
-
Re: DUAL Pricing v2
Hi Guys, :)
Is the latest version able to be used with v1.5.5e?
Many Thanks
Les :)
-
Re: DUAL Pricing v2
Quote:
Originally Posted by
webmanstudios
Hi Guys, :)
Is the latest version able to be used with v1.5.5e?
Many Thanks
Les :)
Yes it can.
-
Re: DUAL Pricing version 2
Can you tell me if Dual Pricing 2.1.7 will allow some products to *only* have a wholesale price? Or would they show the "retail" price as $0 in that case? My client sells some items both retail and wholesale - others just retail (which I know is fine with Dual Pricing). But they also sell some only wholesale.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
seattleannie
Can you tell me if Dual Pricing 2.1.7 will allow some products to *only* have a wholesale price? Or would they show the "retail" price as $0 in that case? My client sells some items both retail and wholesale - others just retail (which I know is fine with Dual Pricing). But they also sell some only wholesale.
If you don't enter a retail price it will be $0. If you don't want retail customers to buy a product you'll need a different plugin (this might work for you, https://www.zen-cart.com/downloads.php?do=file&id=254) in order to hide the product. An alternative would be to enter a really high retail price to discourage retail shoppers from buying it.
-
Re: DUAL Pricing v2
I have a problem in that when a wholesale customer is logged in, the whole price does show fine however, the additional price attached to my attributes are not updating. See the page here: https://www.greatwings.com/generic-w...r_of_uploads=0
When not logged in and in retail mode the additional price ($10 for Name Panel Engraved, Yes Option) for engraving works fine. But when a wholesale customer logs in, the whole price shows fine, but when I select the engraving option ($10) extra it does not update in the cart. The JQuerry or whatever dynamic pricing seems to think and work, but the price stays the same. Anyone have issues with this module not updating the add-on price of attributes? I tried to modify the code in the thread a few above but it created an error of some sort. So that coding was displaying an error in my attributes.php.
I am running Zen Cart v1.5.5a and Dual-Pricing v2.1.6.
-
Re: DUAL Pricing v2
This is exactly what I am wanting, but is it compatible with Zen Cart 1.5.5e ?
Thanks!
-
Re: DUAL Pricing v2
Quote:
Originally Posted by
MaxBodine
This is exactly what I am wanting, but is it compatible with Zen Cart 1.5.5e ?
Thanks!
Should be just fine. I don't think any of the override files were changed since 1.5.5b. If they were, they should be simple merges.
-
Re: DUAL Pricing version 2
Can this plugin be readily modified so that a 'Category Discount' could be applied per category instead of a net price for each and every item?
cheers,
Mike
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
shags38
Can this plugin be readily modified so that a 'Category Discount' could be applied per category instead of a net price for each and every item?
cheers,
Mike
I guess it *could*. The logic is entirely built around product price, so you'd need to change all of that to category. All depends on your definition of 'readily'.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
I guess it *could*. The logic is entirely built around product price, so you'd need to change all of that to category. All depends on your definition of 'readily'.
Thanks for the quick response mate, much appreciated. I gather from your response it would be almost like a rebuild and I definitely do not have the skills for that.
I installed this plugin on 1.5.5f and all is fine - Question though regarding this;
HTML Code:
Can I add wholesale pricing to my Easy Populate spreadsheet?
---------------------------------
NOTE: if you'd like to add your wholesale prices to Easy Populate, add the following line to
admin\includes\languages\english.php
define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w'); //Easy Populate
Where in that file do I place the code, or doesn't it matter? I placed it at the very bottom of the file, below // include additional files:
I then ran an export but there was no column for wholesale prices - I hadn't entered any in any products via admin, the idea was to use easypopulate4 to do that - do I have to enter a wholesale price on at least one product for it to trigger the call to produce the wholesale price column? ... or is it likely that something else is wrong, e.g. faulty installation or compatibility with 1.5.5f ?
cheers,
Mike
-
Re: DUAL Pricing version 2
Mike - yes, it would require more than a little rebuilding.
As I recall, the current way to add this to Easy Populate is to add the "User defined products fields" on the Configuration -> Easy Populate 4 page.
-
Re: DUAL Pricing version 2
Hello,
I have downloaded and read the read me file for the Dual pricing addon. I downloaded the one for 1.5.5 (dual pricing 2.1.7 according to the folder title.) when I read the info it says it will only work on 1.5.5a or 1.5.5b?
I added it anyway to check it is not a mistake in the document and no it doesnt work.
Is there no 1.5.5f for this addon?
If not, can someone advise me of a wholesale pricing addon which also hides the wholesale prcing unless you are on that pricing level?
Thank you
Amy
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
rainbow_pixie_star
Hello,
I have downloaded and read the read me file for the Dual pricing addon. I downloaded the one for 1.5.5 (dual pricing 2.1.7 according to the folder title.) when I read the info it says it will only work on 1.5.5a or 1.5.5b?
I added it anyway to check it is not a mistake in the document and no it doesnt work.
Is there no 1.5.5f for this addon?
If not, can someone advise me of a wholesale pricing addon which also hides the wholesale prcing unless you are on that pricing level?
Thank you
Amy
An updated version was submitted recently. It will be posted in the Plugins section soon. Until then, you can download it from here:
https://github.com/jeking928/dual-pr...art/tree/2.1.8
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
shags38
Thanks for the quick response mate, much appreciated. I gather from your response it would be almost like a rebuild and I definitely do not have the skills for that.
I installed this plugin on 1.5.5f and all is fine - Question though regarding this;
HTML Code:
Can I add wholesale pricing to my Easy Populate spreadsheet?
---------------------------------
NOTE: if you'd like to add your wholesale prices to Easy Populate, add the following line to
admin\includes\languages\english.php
define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w'); //Easy Populate
Where in that file do I place the code, or doesn't it matter? I placed it at the very bottom of the file, below // include additional files:
I then ran an export but there was no column for wholesale prices - I hadn't entered any in any products via admin, the idea was to use easypopulate4 to do that - do I have to enter a wholesale price on at least one product for it to trigger the call to produce the wholesale price column? ... or is it likely that something else is wrong, e.g. faulty installation or compatibility with 1.5.5f ?
cheers,
Mike
If you don't have this sorted we have completed a site running ZC 1.55f - Easy Populate 4 with wholesale installed along with other fields for input/export I would be happy to help out!
-
Re: DUAL Pricing version 2
Awesome, will give that a go now.
Thank you
AMy
-
Re: DUAL Pricing version 2
I have a version ready for testing on Zen Cart 1.5.6. If you are interested in testing it, PM me.
-
Re: DUAL Pricing version 2
Hi. I ran into some trouble with a 1.5.5f site that is using the 2.1.8 Dual Pricing module. When "Price by attributes" is checked on a product, and therefore the Net and Wholesale price fields on the product entry page are left empty and instead regular and wholesale prices are entered via the Attributes Controller - and a customer who has been given the Dual Pricing status of a permitted Wholesale customer logs in and shops, they only see the retail price for the attribute options. I tested this on a brand new, clean 1.5.5f install today - on Classic, Responsive and Bootstrap templates (with careful merging) - and no wholesale prices show in any of the templates. The problem does not seem to be the template. The problem seems to be Priced by Attributes is not working with the Dual Pricing module.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
seattleannie
Hi. I ran into some trouble with a 1.5.5f site that is using the 2.1.8 Dual Pricing module. When "Price by attributes" is checked on a product, and therefore the Net and Wholesale price fields on the product entry page are left empty and instead regular and wholesale prices are entered via the Attributes Controller - and a customer who has been given the Dual Pricing status of a permitted Wholesale customer logs in and shops, they only see the retail price for the attribute options. I tested this on a brand new, clean 1.5.5f install today - on Classic, Responsive and Bootstrap templates (with careful merging) - and no wholesale prices show in any of the templates. The problem does not seem to be the template. The problem seems to be Priced by Attributes is not working with the Dual Pricing module.
In my testing, it does work but only once you add the item to your cart. The price on the product page is the retail price. Is this what you see too?
-
1 Attachment(s)
Re: DUAL Pricing version 2
see attached image of Anne's test site and yes, the correct price is reflected in the shopping cart.
Attachment 18285
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
In my testing, it does work but only once you add the item to your cart. The price on the product page is the retail price. Is this what you see too?
As Barco57 showed you, yes: the wholesale price does show up once the item is added to the cart. But, since the Dual Pricing module shows both the retail and wholesale prices when they are entered into the main price fields of the product - it should show both prices with the attributes - and it doesn't. Wholesale customers will assume that they will be charged the retail price and walk away. The wholesale price needs to show for wholesale customers - even when it is priced by attributes. I hope you agree!
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
seattleannie
As Barco57 showed you, yes: the wholesale price does show up once the item is added to the cart. But, since the Dual Pricing module shows both the retail and wholesale prices when they are entered into the main price fields of the product - it should show both prices with the attributes - and it doesn't. Wholesale customers will assume that they will be charged the retail price and walk away. The wholesale price needs to show for wholesale customers - even when it is priced by attributes. I hope you agree!
I've noted the issue in GitHub and will attempt to fix it when I have the time.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
I've noted the issue in GitHub and will attempt to fix it when I have the time.
Thank you so much!
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
I've noted the issue in GitHub and will attempt to fix it when I have the time.
Can you tell me how soon you might be getting to this, Jim? Wondering if I should launch my client's site "as-is" for now, and then upgrade his Dual Pricing later on, once you have a new version available.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
seattleannie
Can you tell me how soon you might be getting to this, Jim? Wondering if I should launch my client's site "as-is" for now, and then upgrade his Dual Pricing later on, once you have a new version available.
It's not too high on my list. Paying clients come first.
-
Re: DUAL Pricing version 2
I am running the most recent version of Zen and set up the Dual Pricing 2.1.8 plugin, however, I'm having difficulty in getting the MSRP displayed with the wholesale price. Dealers would like to see the MSRP displayed so they can calculate their own margins without having to log out to see the regular price, then back in again to order.
Anyway this version has a Readme file ( under 1.5.6 ), that states …..
"If you want your wholesale customers to see BOTH retail and wholesale pricing (instead of only Wholesale pricing), then uncomment line #71 in this file:
\includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php"
However, I do not have a php editor that adds the line numbers ( just notepad ), and when I open the above php script, and did a manual count for that line, I could not find anything relevant to "uncomment" around that particular line ( manual count).
Would it be possible for someone to put up a copy of that line I need to uncomment so I can search for it, or point to a thread that has the answer?
Thank you in advance :)
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
motherlode
I am running the most recent version of Zen and set up the Dual Pricing 2.1.8 plugin, however, I'm having difficulty in getting the MSRP displayed with the wholesale price. Dealers would like to see the MSRP displayed so they can calculate their own margins without having to log out to see the regular price, then back in again to order.
Anyway this version has a Readme file ( under 1.5.6 ), that states …..
"If you want your wholesale customers to see BOTH retail and wholesale pricing (instead of only Wholesale pricing), then uncomment line #71 in this file:
\includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php"
However, I do not have a php editor that adds the line numbers ( just notepad ), and when I open the above php script, and did a manual count for that line, I could not find anything relevant to "uncomment" around that particular line ( manual count).
Would it be possible for someone to put up a copy of that line I need to uncomment so I can search for it, or point to a thread that has the answer?
Thank you in advance :)
This is the section and line you're looking for: http://prntscr.com/odqc80
-
Re: DUAL Pricing v2
Is this some sort of joke? If you don't have a file editor that shows line numbers, get one. Easy and free.
It takes a special sort of person to use notepad as a development tool.
Notepad++ would be good starting point. You also need winmerge.
-
Re: DUAL Pricing version 2
Where are the update instructions? The instructions that come with this plugin, only give installation instructions and FAQ's do not address the upgrade/update issue.
I just upgraded my Zen cart from v1.5.1 to 1.5.6c and this module was originally installed as v2.1.1. I now see the never version is at version 2.2.8. Is there a database upgrade? I can overwrite files but don't know if it will work. Just wondering how to upgrade to the latest version, I am using this and do not want to mess it up.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
sports guy
Where are the update instructions? The instructions that come with this plugin, only give installation instructions and FAQ's do not address the upgrade/update issue.
I just upgraded my Zen cart from v1.5.1 to 1.5.6c and this module was originally installed as v2.1.1. I now see the never version is at version 2.2.8. Is there a database upgrade? I can overwrite files but don't know if it will work. Just wondering how to upgrade to the latest version, I am using this and do not want to mess it up.
I have not had the time to update this for 1.5.6c. There are no database changes. You'll only need to upload the files but that also means merging the changes to the core files into the 1.5.6c versions of those core files.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
I have not had the time to update this for 1.5.6c. There are no database changes. You'll only need to upload the files but that also means merging the changes to the core files into the 1.5.6c versions of those core files.
I know how to merge the core files in and overwrite new files. Now I feel more comfortable knowing there are no database changes. I appreciate the feedback and thank you for the instruction!
-
Re: DUAL Pricing version 2
v1.5.5f your plugin version 2.1.8
Hi - I no longer need wholesale pricing - how best can I turn off the wholesale prices? - I am not seeing a configuration setting anywhere, nothing in admin/configuration or any other admin area. I tried running the uninstall sql but it made all products disappear in admin/catalogue/categories-products (fortunately running install.sql reinstated the products)
I need to disable this plugin as I suspect it is preventing Salemaker from working.
Looking forward to some assistance.
cheers,
Mike
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
shags38
v1.5.5f your plugin version 2.1.8
Hi - I no longer need wholesale pricing - how best can I turn off the wholesale prices? - I am not seeing a configuration setting anywhere, nothing in admin/configuration or any other admin area. I tried running the uninstall sql but it made all products disappear in admin/catalogue/categories-products (fortunately running install.sql reinstated the products)
I need to disable this plugin as I suspect it is preventing Salemaker from working.
Looking forward to some assistance.
cheers,
Mike
If you want to not offer wholesale pricing so it's 'hidden', you can sent all customers to the zero status. If you want to remove it for real, you'll have to follow the instructions in reverse and remove all the file edits.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
If you want to not offer wholesale pricing so it's 'hidden', you can sent all customers to the zero status. If you want to remove it for real, you'll have to follow the instructions in reverse and remove all the file edits.
Many thanks :smile:
-
Re: DUAL Pricing version 2
Does anybody have working merge of the 1.5.6c base and dual pricing mod store/includes/functions/functions_prices.php file that you would be willing to share? For some reason that file keeps crashing (500 error) my site when I merge it.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
mikestaps
Does anybody have working merge of the 1.5.6c base and dual pricing mod store/includes/functions/functions_prices.php file that you would be willing to share? For some reason that file keeps crashing (500 error) my site when I merge it.
That file did not change between 1.5.6b and 1.5.6c so the version in the plugin is current. A 500 error is typical of a merge error and missing a bracket, or an extra one. Check your merged file. Also check the error. It will likely point on the line number so you can find your merge error.
-
Re: DUAL Pricing version 2
My 1.5.6c base store show file shows updated in 1.5.6b, v2.1.8 dual pricing shows 1.5.6.
I'll give it another try, the fact that I was working on this at midnight may have played a part in it....
-
Re: DUAL Pricing version 2
Whelp... It is not throwing the 500 error this time, but it still isn't quite working. Now it is not showing any pricing until you add to cart, regardless of logged in retail, logged in wholesale, or not logged in. I'll try and dig into it a little closer this evening and report back.
Thx
-
Re: DUAL Pricing version 2
Has anyone tested this on 1.5.7 yet?
-
Re: DUAL Pricing version 2
Does the module continues not having an option to collect tax on orders?
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
ideasgirl
Does the module continues not having an option to collect tax on orders?
Yes, the current version excepts wholesale accounts from sales tax. This can be changed by editing the plugin code.
-
Re: DUAL Pricing version 2
I second this question. I want to upgrade to v1.5.7 but not sure if this module is going to break the busy site. Anyone migrate successfully without issue?
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
sports guy
I second this question. I want to upgrade to v1.5.7 but not sure if this module is going to break the busy site. Anyone migrate successfully without issue?
I have not updated this for 1.5.7 yet. To be completely honest, it's not going to be soon. This plugin, which I did not initially create, modifies a lot of core files so is a pain to update.
-
Re: DUAL Pricing version 2
@Forum admin: this is on Github, please add the link to the plugin page:
https://github.com/jeking928/zen-cart-dual-pricing
@everyone else...get PR'ing...unfortunately I am not in a position to work on this yet either.
-
Re: DUAL Pricing version 2
Jeking, Thanks for the reply. Not sure if anyone else is interested in doing this, but I would throw in $100 for a quicker update. Just PM me if you plan on doing this soon (within a month), and I will honor my statement here, and send you payment. Thank you for hard work on this great plugin!
-
Re: DUAL Pricing version 2
I will add funds to that as well.
I am currently finalizing installing this on 1.5.6c, but will be moving to 1.5.7 once complete. I can mash files together and tweak code, but I wouldn't call myself a programmer.
For 1.5.6c I have found a number of things that I think may be incorrect (other than basic file upgrades). I have posted them as Issues on that Github.
-
Re: DUAL Pricing version 2
I have a working version on Zen-Cart 1.5.7 test environment. I have added it to this fork on the GitHub repo if anyone wants to try it:
https://github.com/lindasdd/zen-cart-dual-pricing
I won't submit it to the plugins until I have production running 1.5.7 for a bit to find any errors.
I don't use attributes so I did not heavily test that area.
-
Re: DUAL Pricing version 2
That's awesome, thank you.
I assume that with this module I can have Practitioner Only Products available that no-one else can buy except for the people I allocate to that level?
Eg BioPractica do not allow us to advertise products online with pricing, however if it's on my cart and uses something like the "Call for Price" Button to everyone except those who are logged in as being Naturopathy Clients of mine, and they can actually see the price and reorder?
I hope that makes sense!
T :-)
-
Re: DUAL Pricing version 2
I am not the author of this module. I don't think this module can do that.
This module just provides different tiers of pricing for the products.
Your specific problem can be solved, but best handled via its own dedicated thread.
-
Re: DUAL Pricing version 2
map pricing, not allowed to show price add to cart for price. is the module you want
-
Re: DUAL Pricing version 2
You can also use Twitch module. That module will hide specific categories and will show different main pages to different client level. Combined with dual pricing will do the job you are looking for.
-
Re: DUAL Pricing version 2
Thanks everyone for your wonderful feedback. I'm going to check out Twitch first :-)
-
Re: DUAL Pricing version 2
Does this MOD allow for group CATEGORY discounts? Or specific to product only?
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Carbonless
Does this MOD allow for group CATEGORY discounts? Or specific to product only?
This is only product by product pricing.
-
Re: DUAL Pricing version 2
Thanks! We had a category discount mod that quit working with 1.5.6
we've utilized it to give dealers different % discounts on products based on what category they were in.
would be great to have that functionality.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Carbonless
We had a category discount mod that quit working with 1.5.6
Was that a PHP version incompatibility issue? Or something specific to Zen Cart?
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Carbonless
Does this MOD allow for group CATEGORY discounts? Or specific to product only?
Product only.
-
Re: DUAL Pricing version 2
It was a mod installed in 2007 that we kept having a developer carry forward... not sure if its a php or zc specific issue. It's been 13 years since I got into the bones of ZC... it's been nice to re familiarize myself with it.
In this case, where would you suggest I look to see where the core files "might" be located?
-
Re: DUAL Pricing version 2
You might want to take a look into Twitch module as well. Check my post #1458.
It's a bit of a paint to install and configure but it's worth it. After set works great.
Not sure if is compatible with 1.5.7. We had it installed on a 1.5.6 around 3 years ago and we haven't have any issues related to the module.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
ideasgirl
You might want to take a look into Twitch module as well. Check my post #1458.
It's a bit of a paint to install and configure but it's worth it. After set works great.
Not sure if is compatible with 1.5.7. We had it installed on a 1.5.6 around 3 years ago and we haven't have any issues related to the module.
Thanks... I've inquired in that thread as to the category % discount availability.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
Carbonless
It was a mod installed in 2007 that we kept having a developer carry forward... not sure if its a php or zc specific issue. It's been 13 years since I got into the bones of ZC... it's been nice to re familiarize myself with it.
In this case, where would you suggest I look to see where the core files "might" be located?
Probably best to look at your correspondence records with that developer.
-
Re: DUAL Pricing version 2
13 years ago he was to have given us the mod in a downloadable file... never happened. Alas... but it's a new era and anything is possible with ZC!
-
Re: DUAL Pricing version 2
Anyone have this working on zc1.5.7? While Twitch sounds like it might be a good alternative I have this installed on a store tons of products, updating every products variable pricing all over would be a nightmare!
-
Re: DUAL Pricing version 2
Why don't you post the problem here (and in the Github as referenced above). If it has suddenly stopped working, it isn't a bug, its a hosting upgrade and the debug logs should tell you what php is complaining about.
-
Re: DUAL Pricing version 2
A big shout out to @lindasdd for doing a lot of the heavy lifting. There is now a version compatible with 1.5.7c, but, it is not working with attributes. It does work on my testing with product level pricing.
For those that are interested in TESTING this, please PM me.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
sports guy
Anyone have this working on zc1.5.7? While Twitch sounds like it might be a good alternative I have this installed on a store tons of products, updating every products variable pricing all over would be a nightmare!
Twitch Wholesale PRO uses static multi tier pricing for products and attributes - Dual Pricing uses a lookup loop.
Again, I support both of these mods independently as I see the purpose of both.
We could run a query that converts Dual Pricing to Twitch Wholesale in a few clicks but... Twitch WS PRO aims to be a wholesale split cart with a host of wholesale wants and needs relative to the separation - Dual Pricing remains a pricing upgrade for wholesale use.
Twitch Wholesale PRO - Public for ZC 1.56c is nearly ready to release and will be updated from that point on to ZC 1.57c.
There was talk of making a Twitch Wholesale branch that was similar to Hidden Wholesale where wholesale pricing features, wholesale restriction filters and various simple wholesale only switches could be turned on but funding and demand has pushed a fully integrated wholesale solution.
Currently all wholesale filters are interchangeable between Dual Pricing and Twitch WS up to 1.55f that I am aware of mind the spelling of 'customers_wholesale'.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
A big shout out to @lindasdd for doing a lot of the heavy lifting. There is now a version compatible with 1.5.7c, but, it is not working with attributes. It does work on my testing with product level pricing.
For those that are interested in TESTING this, please PM me.
Yeah I realized that once I used it on my other site, but haven't had a chance to circle back around (figured it out during a full VPS meltdown and total site loss). I will take a quick look to see what I changed to fix it. I know it was around all the logic at the end of the main file.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
There is now a version compatible with 1.5.7c, but, it is not working with attributes. It does work on my testing with product level pricing.
For those that are interested in TESTING this, please PM me.
If you have a chance, add this version to your GitHub.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
lindasdd
If you have a chance, add this version to your GitHub.
Now available for testing via GitHub.
-
Re: DUAL Pricing version 2
Is the only change for 1.5.7c the new functions_prices.php and products_price_manager.php? I uploaded both of those, and wholesale attribute pricing still isn't working.
Huh, well, it's sort of not working. The wholesale price isn't being displayed on the product page, but it is being used as the price when the customer places an order.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
HeleneWallis
Is the only change for 1.5.7c the new functions_prices.php and products_price_manager.php? I uploaded both of those, and wholesale attribute pricing still isn't working.
Huh, well, it's sort of not working. The wholesale price isn't being displayed on the product page, but it is being used as the price when the customer places an order.
There is not enough information for anyone to help you. But the bottom line would be to follow the instructions and install all of the files and not just those two.
If you still have trouble....
What version of Zen Cart are you using?
Is this an upgrade of Dual Pricing?
If so, from what version?
Was that version working ok?
This can be a tricking plugin to install with all the core file merges.
-
Re: DUAL Pricing version 2
I installed the entire package. It's a new installation of 1.5.7c which is still in the testing phase. No other plugins were installed except the Fluorspar template. I tried to use this in my current 1.5.5a live site several years ago, and was never successful in getting it to work. But I really need it so my wholesalers can order direct from the website.
What I'm trying to find out is whether the changes needed for 1.5.7c are only those two files, after one installs the 1.5.6 verions or is there an actual 1.5.7c version now.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
HeleneWallis
or is there an actual 1.5.7c version now.
The post immediately before your first one mentioned there is a 1.5.7c version available for testing on Github.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
The post immediately before your first one mentioned there is a 1.5.7c version available for testing on Github.
Yes, that's where I found the two files I mentioned. I should have said that I also used the updated sql from the 1.5.7 version in Github. I see now that there are other updated files besides the two that were mentioned in this thread. I've reinstalled Zencart 1.5.7c and then again installed Dual Pricing, with the updated files. It is still doing the same thing as before. The shopping cart gets the correct prices from the attributes, but when the product is first displayed on the screen, only the retail prices are displayed. I've checked the attributes again, and verified that the correct prices are entered there.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
HeleneWallis
Yes, that's where I found the two files I mentioned. I should have said that I also used the updated sql from the 1.5.7 version in Github. I see now that there are other updated files besides the two that were mentioned in this thread. I've reinstalled Zencart 1.5.7c and then again installed Dual Pricing, with the updated files. It is still doing the same thing as before. The shopping cart gets the correct prices from the attributes, but when the product is first displayed on the screen, only the retail prices are displayed. I've checked the attributes again, and verified that the correct prices are entered there.
You're using attributes? This version does not work with attribute pricing:
https://www.zen-cart.com/showthread....03#post1380803
-
Re: DUAL Pricing version 2
Sorry, I thought that was the whole point of the last few comments before mine, that it was working for lindasdd and that those changes had been posted to Github.
-
Re: DUAL Pricing version 2
It is actually picking up the prices correctly and showing them in the shopping cart, just not on the product display, if that's any help in figuring it out.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
HeleneWallis
It is actually picking up the prices correctly and showing them in the shopping cart, just not on the product display, if that's any help in figuring it out.
Sorry for the confusion.
Your observation is correct. That is the current functionality. I don't know if/when I'll be able to work on this issue. My clients don't need this fixed so this becomes a free time project, of which there is not a lot of free time.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
HeleneWallis
It is actually picking up the prices correctly and showing them in the shopping cart, just not on the product display, if that's any help in figuring it out.
Try (on a test site, I might have also changed something else and forgot):
in includes/modules/attributes.php insert after line 169:
if ($_SESSION['customer_whole'] = '0') {
and then insert after the neew line 173:
} else {
$new_attributes_price = $products_options->fields['options_values_price_w'];;
}
so now lines 169-177 look like this:
PHP Code:
if ($products_options->fields['attributes_discounted'] == 1) {
if ($_SESSION['customer_whole'] = '0') {
// apply product discount to attributes if discount is on
$new_attributes_price = zen_get_attributes_price_final($products_options->fields["products_attributes_id"], 1, '', 'false', $products_price_is_priced_by_attributes);
//$new_attributes_price = zen_get_discount_calc((int)$_GET['products_id'], true, $new_attributes_price);
} else {
$new_attributes_price = $products_options->fields['options_values_price_w'];;
}
} else {
IMPORTANT!! - This isn't a complete fix! There are certain pricing scenarios this is not factoring for such as the next section down in that file 'discount is off do not apply'.
-
Re: DUAL Pricing version 2
Looking through the files (GitHub version) while merging with my 1.5.7c test store files I may have found a possible bug.
Code:
admin/attributes_controller.php lines 1752-1755
<!-- bof_adding -->
<!--- Dual Pricing start --->
<tr class="attributeBoxContent"><td colspan="11"><table border="0" width="100%">
<!--- Dual Pricing end --->
There doesn't seem to be a corresponding </tr> (that I can find).
Where would I put that?
-
Re: DUAL Pricing version 2
Hello, i am running zen version 1.56c and had this working on 1.56, whats not working is any product that has a quantity discount will only show a price of zero on product info page. when i do use quantity discounts i use percentage but wholesale price stays on 0
-
Re: DUAL Pricing version 2
I'm hoping someone can help me. A site I maintain has been using dual pricing for a few years. Recently, it was required to set up specials pricing (20% off) for some products, and to have the 20% off to apply to both retail and wholesale prices. As per the readme that comes with the plugin, I have commented out the "hide specials" code. Doing so results in no changes. i.e the retail shows the correct specials price, but when logged in as a wholesale customer, the price is the same as for a retail customer.
The site is running zencart 1.5.5e and the 1.5.5b version of dual pricing.
-
Re: DUAL Pricing version 2
This functionality is now integrated into the current version of Zen Cart, making this an obsolete plugin on an obsolete version of Zen Cart.
Consequently it's difficult for anyone to justify looking into this, apart from other users that may still be using this.
This is one of multiple reasons why you must upgrade.
-
Re: DUAL Pricing version 2
That may well be so, but upgrading to the latest version of Zencart for many users depends on other plugins being available for the latest version of Zencart. One that readily comes to mind is Super Orders, and until that becomes available for 1.5.8 or 2.0, it is not possible to update.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
torvista
This functionality is now integrated into the current version of Zen Cart, making this an obsolete plugin on an obsolete version of Zen Cart.
Maybe I'm misunderstanding your comment, but I don't see dual pricing in ZC 2.0.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
Maybe I'm misunderstanding your comment, but I don't see dual pricing in ZC 2.0.
It's called Wholesale Pricing and has to be enabled: https://docs.zen-cart.com/user/admin...lesale_pricing
-
Re: DUAL Pricing version 2
I've just had a look at the documentation for Wholesale Pricing in V2, and it does not allow for specials pricing to apply to wholesale customers - "Customers who are eligible for Wholesale Pricing are not eligible for Sales, Specials and Group Pricing". There is a valid use case for specials pricing to apply to both retail and wholesale customers. e.g when trying to shift old stock.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
donw
I've just had a look at the documentation for Wholesale Pricing in V2, and it does not allow for specials pricing to apply to wholesale customers - "Customers who are eligible for Wholesale Pricing are not eligible for Sales, Specials and Group Pricing". There is a valid use case for specials pricing to apply to both retail and wholesale customers. e.g when trying to shift old stock.
That functionality was based on the Dual Pricing version from which Whole Sale pricing was based. I've created a GitHub issue to identify the request: https://github.com/zencart/zencart/issues/6445
-
Re: DUAL Pricing version 2
-
Re: DUAL Pricing version 2
As a follow-up, you can always just modify the wholesale pricing for those "old stock" products.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
lat9
Very nice! Somehow I missed that being added to the core.
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
Very nice! Somehow I missed that being added to the core.
Here's another doc-link that has a bit more description: https://docs.zen-cart.com/user/products/wholesale_pricing
... and the GitHub discussion that got the ball rolling: https://github.com/zencart/zencart/discussions/5773
-
Re: DUAL Pricing version 2
Quote:
Originally Posted by
jeking
Very nice! Somehow I missed that being added to the core.
I think this is the most exciting feature in 2.0.0. It will save storeowners a ton of time and grief not having to merge all the required changes for Dual Pricing.
Thanks for your hard work over the years on the plugin version of this feature @jeking.