Zen Cart Logo

DUAL Pricing v2

Views: 363,307

Results 1,341 to 1,360 of 1,504
3 Jan 2016, 6:10 PM
#1341
rongin avatar

rongin

Zen Follower

Join Date:
Feb 2009
Posts:
112
Plugin Contributions:
0

DUAL Pricing v2

I had a copy of this dual pricing on my cart but when I upgraded to 1.5.4 the script has stop working and showing. SO I tried installing the new 1.5.4 folder and I believe I did it correctly, but when going to tools in the install database I get this message:

NOTE: Zen Cart database-upgrade scripts should NOT be run from this page.
Please upload the new zc_install folder and run the upgrade from there instead for better reliability.

I don't know what this is can you explain to me what I have to do to fix this?

Thanks
Ron

3 Jan 2016, 6:46 PM
#1342
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

RonGin:

I had a copy of this dual pricing on my cart but when I upgraded to 1.5.4 the script has stop working and showing. SO I tried installing the new 1.5.4 folder and I believe I did it correctly, but when going to tools in the install database I get this message:

NOTE: Zen Cart database-upgrade scripts should NOT be run from this page.
Please upload the new zc_install folder and run the upgrade from there instead for better reliability.

I don't know what this is can you explain to me what I have to do to fix this?

Thanks
Ron

That would be an indication your upgrade to Zen Cart 1.5.4 was not completed successfully as that message is from Zen Cart and not this plugin. Run the database upgade from zc_install and and that should solve this.

28 Mar 2016, 8:00 AM
#1343
soundmachine avatar

soundmachine

New Zenner

Join Date:
Jul 2009
Posts:
6
Plugin Contributions:
0

Re: DUAL Pricing v2

I just installed a fresh zen 1.55 and the latest plugin.. I have a question as I see nowhere to change it. how can I have the wholesale customer see HIS price before adding to the cart? I log in with the correct level but I just see the retail price and no display of wholesale until looking in the cart

28 Mar 2016, 11:06 AM
#1344
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

soundmachine:

I just installed a fresh zen 1.55 and the latest plugin.. I have a question as I see nowhere to change it. how can I have the wholesale customer see HIS price before adding to the cart? I log in with the correct level but I just see the retail price and no display of wholesale until looking in the cart

The wholesale and retail price will display on the product_info page. If you just made the change to the customer account, you just log out and back in (of the custome account). If you still don't see it, check you merge of the tpl_product_info_default.php page.

17 May 2016, 5:33 PM
#1345
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
969
Plugin Contributions:
0

Re: DUAL Pricing v2

hello zen 1.5.1 here and im having a problem with this mod, worked fine and now not,any1 who logs in gets wholesale not just the customers with a 1. how do i fix this, what file controls this.
Jimmie

17 May 2016, 5:39 PM
#1346
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

jimmie:

hello zen 1.5.1 here and im having a problem with this mod, worked fine and now not,any1 who logs in gets wholesale not just the customers with a 1. how do i fix this, what file controls this.
Jimmie

So what changed between now and when it was working? That will be your clue as to the source of the problem.

If you don't know, compare the files from the plugin to your store files to see which edits are missing from your store.

17 May 2016, 5:47 PM
#1347
twitchtoo avatar

twitchtoo

Totally Zenned

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

Re: DUAL Pricing v2

jimmie:

hello zen 1.5.1 here and im having a problem with this mod, worked fine and now not,any1 who logs in gets wholesale not just the customers with a 1. how do i fix this, what file controls this.
Jimmie

There is a control switch in the includes/modules/pages/create_account_success/header_php.php for new sign ups and the gatekeeper in** includes/modules/pages/login/header_php.php
**
If the first one is missing, only new sign ups will experience switch issues. If the gatekeeper is missing the cart won't sort anyone logging in.

17 May 2016, 6:21 PM
#1348
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
969
Plugin Contributions:
0

Re: DUAL Pricing v2

actually figured it out, My shop manager deleted the 1 in our shop sales account left it as blank, put in a zero and it works as should, Something simple lol

6 Jul 2016, 5:31 PM
#1349
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: DUAL Pricing v2

Great mod!!! Has anyone had any success with Easy Populate 4 (EP4.0.35.ZC) an ZC 1.5.5a. I have added to my_admin\includes\languages\english.php:

define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w'); //Easy Populate, as indicated in the instructions but have not had any success with import and exporting with EP4.

EP4 page in ZC indicates on the right of the screen under Custom Products Fields: Dual Pricing Mod: TRUE.

Thanks

6 Jul 2016, 5:39 PM
#1350
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

allmart:

Great mod!!! Has anyone had any success with Easy Populate 4 (EP4.0.35.ZC) an ZC 1.5.5a. I have added to my_admin\includes\languages\english.php:

define('EASYPOPULATE_CONFIG_CUSTOM_FIELDS', 'products_price_w'); //Easy Populate, as indicated in the instructions but have not had any success with import and exporting with EP4.

EP4 page in ZC indicates on the right of the screen under Custom Products Fields: Dual Pricing Mod: TRUE.

Thanks

Your question would be better addressed in the Easy Populate thread. If you find the instructions are unclear or need updated, please post back here

12 Jul 2016, 5:29 PM
#1351
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: DUAL Pricing v2

Great Add-on!!! Thanks,

I am having a display issue on my product_info page since installing this mod. When a product is selected the text is out of alignment and no shaded boxes or css button to Add to Cart. This occurs for all devices. The link to my site is: http://www.allmart.ca/store/.

Thanks in advance for your help.

12 Jul 2016, 7:07 PM
#1352
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: DUAL Pricing v2

I hope this helps:

Responsive Classic Template:

Before Mod:Attachment 16484
After Mod:Attachment 16485

The 2 grey shaded boxes listing model number and add to cart button as well as text are out of alignment.

12 Jul 2016, 7:18 PM
#1353
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

Styling is covered in the ReadMe.


How do I change wording/display style?

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

If you want to change wording in front of the prices, edit this file:
\includes\languages\english\YOUR_TEMPLATE\product_info.php

You can easily add the following three IDs to your CSS file and control the styles of your text:
#retail
#retailwhole
#whole

13 Jul 2016, 2:02 PM
#1354
allmart avatar

allmart

Zen Follower

Join Date:
Feb 2016
Location:
Canada
Posts:
192
Plugin Contributions:
0

Re: DUAL Pricing v2

Thank you!

20 Jul 2016, 8:13 AM
#1355
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: DUAL Pricing v2

You say "THIS REPLACES GROUP PRICING. IF YOU USE GROUP PRICING THEN DON'T USE THIS."

I have 1.5.5a installed and it already has 'Group Pricing' . I haven't started using yet. How do I install and use DUAL Pricing

and /or how do I uninstall 'Group Pricing' in order to use DUAL Pricing ?

Thanks

20 Jul 2016, 12:32 PM
#1356
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

oavs:

You say "THIS REPLACES GROUP PRICING. IF YOU USE GROUP PRICING THEN DON'T USE THIS."

I have 1.5.5a installed and it already has 'Group Pricing' . I haven't started using yet. How do I install and use DUAL Pricing

and /or how do I uninstall 'Group Pricing' in order to use DUAL Pricing ?

Thanks

Group Pricing is part of the Zen Cart core. You don't need to remove it (you can't really). You just cannot use it along with Dual Pricing. If you want to use Dual Pricing, just don't configure Group Pricing.

21 Jul 2016, 7:05 AM
#1357
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: DUAL Pricing v2

We are using Dual Pricing 2.1.5b & Zencart v1.5.4

For wholesale pricing level 1 attributes prices are fine. For wholesale pricing level **2 **attributes prices correct on item page, but increased slightly when added to cart.

I will be working on this soon if no answer.

21 Jul 2016, 12:29 PM
#1358
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

vandiermen:

We are using Dual Pricing 2.1.5b & Zencart v1.5.4

For wholesale pricing level 1 attributes prices are fine. For wholesale pricing level **2 **attributes prices correct on item page, but increased slightly when added to cart.

I will be working on this soon if no answer.

Attributes pricing historically did not work beyond level 1. I have a version that addressed this, I just need to find it. I didn't post it because it's only been tested on one client site.

21 Jul 2016, 12:30 PM
#1359
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Re: DUAL Pricing v2

Thanks Jim!

21 Jul 2016, 3:59 PM
#1360
jeking avatar

jeking

Totally Zenned

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

Re: DUAL Pricing v2

vandiermen:

We are using Dual Pricing 2.1.5b & Zencart v1.5.4

For wholesale pricing level 1 attributes prices are fine. For wholesale pricing level **2 **attributes prices correct on item page, but increased slightly when added to cart.

I will be working on this soon if no answer.

In \includes\functions\functions_prices.php

Change all instances of
$optionprice = explode(",",$option_price_array);
to
$optionprice = explode("-",$option_price_array);

Should be lines 181 and 1317. Let me know how that works out for you.