Zen Cart Logo

DUAL Pricing v2

Views: 363,300

Results 1,401 to 1,420 of 1,504
30 Jul 2017, 2:53 PM
#1401
jagall avatar

jagall

Zen Follower

Join Date:
Mar 2011
Location:
Ireland
Posts:
286
Plugin Contributions:
0

DUAL Pricing v2

Hi All,
I have installed this on 1.5.5e a few things:

  1. it is not picking up on the wholesale pricing prices amounts even though they are in the database.
  2. it is displaying the normal price** twice** on the product info display
  3. even if it was picking up the correct price, it is displaying for all to see and not just wholesale customers.
    probably issue with the files, installing this on a bought zencart theme
    thanks for any help in advance.
28 Aug 2017, 11:00 PM
#1402
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

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?

28 Aug 2017, 11:13 PM
#1403
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,763
Plugin Contributions:
9

Re: DUAL Pricing v2

Use encrypted master password instead

29 Aug 2017, 2:25 AM
#1404
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,732
Plugin Contributions:
14

Re: DUAL Pricing v2

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!

29 Aug 2017, 12:15 PM
#1405
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: DUAL Pricing v2

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.

30 Aug 2017, 1:29 AM
#1406
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

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.

1 Sep 2017, 12:24 PM
#1407
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,732
Plugin Contributions:
14

Re: DUAL Pricing v2

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 ;)

17 Oct 2017, 4:19 PM
#1408
izar74 avatar

izar74

Zen Follower

Join Date:
Mar 2009
Location:
Italy
Posts:
155
Plugin Contributions:
0

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:

// 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

17 Oct 2017, 10:50 PM
#1409
izar74 avatar

izar74

Zen Follower

Join Date:
Mar 2009
Location:
Italy
Posts:
155
Plugin Contributions:
0

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...):

// 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([B]$new_attributes_price_w[/B], 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:

19 Oct 2017, 7:00 AM
#1410
webmanstudios avatar

webmanstudios

New Zenner

Join Date:
Dec 2013
Location:
Adelaide, South Australia
Posts:
29
Plugin Contributions:
0

Re: DUAL Pricing v2

Hi Guys, :)

Is the latest version able to be used with v1.5.5e?

Many Thanks

Les :)

19 Oct 2017, 12:28 PM
#1411
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: DUAL Pricing v2

webmanstudios:

Hi Guys, :)

Is the latest version able to be used with v1.5.5e?

Many Thanks

Les :)

Yes it can.

25 Nov 2017, 9:46 PM
#1412
seattleannie avatar

seattleannie

Zen Follower

Join Date:
Oct 2005
Posts:
151
Plugin Contributions:
0

Re: DUAL Pricing v2

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.

25 Nov 2017, 9:56 PM
#1413
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: DUAL Pricing v2

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.

4 Jan 2018, 9:15 PM
#1414
sports_guy avatar

sports_guy

Totally Zenned

Join Date:
Apr 2007
Location:
Dayton, Ohio
Posts:
682
Plugin Contributions:
0

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-wings-c-14_24/2186-name-panel-wing-with-generic-emblem-p-385?number_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.

8 Jan 2018, 4:41 PM
#1415
maxbodine avatar

maxbodine

New Zenner

Join Date:
Apr 2009
Posts:
60
Plugin Contributions:
0

Re: DUAL Pricing v2

This is exactly what I am wanting, but is it compatible with Zen Cart 1.5.5e ?

Thanks!

8 Jan 2018, 4:55 PM
#1416
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: DUAL Pricing v2

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.

20 Aug 2018, 7:51 AM
#1417
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: DUAL Pricing v2

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

20 Aug 2018, 12:29 PM
#1418
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: DUAL Pricing v2

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'.

20 Aug 2018, 11:07 PM
#1419
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: DUAL Pricing v2

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;

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

20 Aug 2018, 11:35 PM
#1420
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: DUAL Pricing v2

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.