Zen Cart Logo
Forums / All Other Contributions/Addons / DUAL Pricing version 2 for 1.3.0.2 Donations

DUAL Pricing version 2 for 1.3.0.2 Donations

Locked

Views: 24,331

Results 41 to 60 of 122
This thread is locked. New replies are disabled.
18 Sep 2006, 6:17 PM
#41
ahwoogamac avatar

ahwoogamac

New Zenner

Join Date:
Feb 2005
Location:
Florida
Posts:
16
Plugin Contributions:
0

DUAL Pricing version 2 for 1.3.0.2 Donations

So, after all this back and forth, is there a definitive 1 or 2 sentence explanation for how to make the newest DUAL Pricing work for 1.3.5? With the newsletter bug in 1.3.0.2, I need to upgrade, but I really need for DUAL Pricing to work too.

18 Sep 2006, 10:11 PM
#42
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

ahwoogamac:

So, after all this back and forth, is there a definitive 1 or 2 sentence explanation for how to make the newest DUAL Pricing work for 1.3.5? With the newsletter bug in 1.3.0.2, I need to upgrade, but I really need for DUAL Pricing to work too.

I have it installed and working on a 1.3.5 install but when I edit a product, I have to renter my wholesale pricing.

Any thoughts on why this might be happening?

21 Sep 2006, 8:47 PM
#43
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Danielle:

OK, found a bug :schmoll: When trying to copy attributes from one product to another, the following error comes up after you've chosen the product you're copying to and hit the copy to button:

I'm guessing it's because there was an extra field added into the attributes table, but I don't have a clue what will fix it! Any thoughts? The site I'm working on has products with lots of attributes, so the copy feature would be SO helpful :D

Thanks!

Anybody have any clue how I could possibly fix this? Other then this, it appears to be working great with 1.3.0.2.

21 Sep 2006, 9:36 PM
#44
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Got it!!! Thanks to Marg from an archived thread :D

If you're getting this error when trying to copy attributes:

1136 Column count doesn't match value count at row 1
in:
[insert into products_attributes values (0, '15', '1', '5', '0.0000', '+', '0', '1', '0', '+', '0', '0', '1', '', '1', '0.0000', '0.0000', '0.0000', '0.0000', '0.0000', '', '', '0.0000', '0', '0.0000', '0', '0')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Here is the solution:

In admin/includes/functions/general.php, find the following line:
'" . $products_copy_from->fields['options_values_price'] . "',

Right under it, add this line:
'" . $products_copy_from->fields['options_values_price_w'] . "',

Now in the same file, just a little further down, find this line:
options_values_price='" . $products_copy_from->fields['options_values_price'] . "',

Add this line right underneath:
options_values_price_w='" . $products_copy_from->fields['options_values_price_w'] . "',

It works beautifully now :clap:

7 Oct 2006, 6:01 AM
#45
islandnewbie avatar

islandnewbie

New Zenner

Join Date:
May 2005
Posts:
24
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Oops, posted twice, sorry

7 Oct 2006, 6:03 AM
#46
islandnewbie avatar

islandnewbie

New Zenner

Join Date:
May 2005
Posts:
24
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

I am a newbie when it comes to programming, but I have found Zencart and their support group to be the best, I have learnt alot and thank the group.

Here is my current problem:

I was having problems with this module, so I freshly installed to my site 1.3.5 and slowly rebuilt everything to make sure I was current. That went OK.

I also installed the FCKeditor.

However, once I installed this beta version for dual-pricing, my FCKeditor stopped working. It was there in the pull-down option, but when you would go to edit a product, nothing below "Product Qty Min/Unit Mix:" showed.

Using Winmerge, trial and error on my part, I was able to get everything running.

However, I have the same problem as Mommydesigns.

Before editing a product it shows the retail/wholesale price. Example 6.95/3.45. Yet when I go in the edit that product, the retail shows 6.95 (and keeps the cents on update) , but the wholesale field only shows 3, and if I do not change it to 3.45, when I update the file, it would only show a wholesale price of 3.

Any thought would be appreciated.

PS - Thanks to Danielle, your post really helped out.....

Thanks in advance,

Islandnewbie

11 Oct 2006, 1:21 AM
#47
islandnewbie avatar

islandnewbie

New Zenner

Join Date:
May 2005
Posts:
24
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Hi All

Though I am a newbie at this, I have been playing around on a test site to get this module working.

I found in the file admin/includes/modules/products/collect_info.php file a line that was causing the "wholesale" amount to round off. Once I changed the following, everything seems to be working.

Approximately line 343

Find:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', (int)$pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

Replace with:

<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_input_field('products_price_w', $pInfo->products_price_w); ?><?php echo TEXT_WHOLESALE_PRICE_COMMENT; ?></td>

I am still trying this out to make sure I have not caused any problems, but it seems to be working fine.

I hope this helps,

Islandnewbie

14 Oct 2006, 10:12 PM
#48
mommydesigns avatar

mommydesigns

Zen Follower

Join Date:
Jul 2006
Posts:
135
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

That's great! Thank you!!

Now to get this working with Easy Populate and I'll be home free. :smartass:

16 Oct 2006, 3:09 PM
#49
anjordan77 avatar

anjordan77

Zen Follower

Join Date:
Jun 2006
Location:
Midlothian, Virginia, United States
Posts:
110
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

those of you trying to remove the SQL patch if you screwed up like me and had major issues:

ALTER TABLE customers DROP customers_whole
ALTER TABLE products DROP products_price_w
ALTER TABLE products_attributes DROP options_values_price_w

or you can just delete those lines that were added from your file.

17 Oct 2006, 5:39 PM
#50
flightoffancy avatar

flightoffancy

New Zenner

Join Date:
Dec 2005
Posts:
56
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Is there a version of Dual Pricing that works with Zen 1.3.0.1?

17 Oct 2006, 7:44 PM
#51
pfabrick avatar

pfabrick

New Zenner

Join Date:
Jan 2006
Posts:
66
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

I have experience with several Zen Carts on multiple server set up and all seem to function very quickly. I installed this Mod on 1.3.5 on a new install of the Cart and it seems to have slowed everything down greatly. Has anyone else experienced this slow down?

25 Oct 2006, 11:21 PM
#52
boylan avatar

boylan

New Zenner

Join Date:
Sep 2006
Location:
Gillette, NJ, USA
Posts:
35
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Quick additional fix: in line 20 of /admin/includes/modules/product/collect_info.php , change

                       'products_price_w' => '',

to

                       'products_price_w' => '0',

This will make the Wholesaler Price default to '0' so that if you forget to enter a price, it will just appear the same as the retail price, instead of free. I'll post a zip of files for this mod - updated to work in 1.3.5 - tomorrow, after I finish launching a site tonight.

7 Nov 2006, 9:13 PM
#53
boylan avatar

boylan

New Zenner

Join Date:
Sep 2006
Location:
Gillette, NJ, USA
Posts:
35
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

I would have posted a zip already, but it took time to find some other bugs. If you have the wholesale/Dual pricing mod installed on 1.3.5 - make sure you also fix the problem described here: http://www.zen-cart.com/forum/showpost.php?p=287492&postcount=9
Hopefully, if nothing else pops up, I'll put it together shortly.

3 Dec 2006, 4:32 AM
#54
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

mommydesigns:

I have it installed and working on a 1.3.5 install but when I edit a product, I have to renter my wholesale pricing.

Any thoughts on why this might be happening?

I have dual pricing_1_3-beta3 installed on 1.3.6 and it is working fine except for two things:

  1. I also have to re-enter the wholesale price when I edit a product.

  2. I can't get the different pricing levels to work. The mod works fine with one wholesale price, but when I enter the 1.00,2.00,3.00,4.00 for different levels, nothing happens and it keeps the first price. I have already tried re-installing it to make sure I didn't miss anything, but that didn't help. Does anyone know what I would need to edit to fix this?

Other than these 2 problems, it works great for me in 1.3.6. I did have to add the fix for the attribute copying problem (which is somewhere on this thread) and also, the admin>customers.php file conflicts with the user tracking mod's version of customer.php. You have to compare the two and meld them together somehow. I have both mods working, I just don't remember how I did it!

Anyway, if anyone could help me figure out how I can fix the pricing level situation, I would love you forever and ever. :wink2:

-April

11 Dec 2006, 4:38 PM
#55
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

The special price is the same for retail and wholesales: it's possible have different discount for retail and wholesales for specials?

13 Dec 2006, 5:10 AM
#56
robax avatar

robax

Zen Follower

Join Date:
Mar 2006
Posts:
187
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Is someone able to summarize this thread? I've just read through it and I'm still unsure what works with what version and what doesn't?

I run 1.302 now and have not installed any dual Pricing mods and would rather hold off until there's a solid version that definitely works either with 1.302 or a later cart.

Thanks for any advice.

13 Dec 2006, 5:40 AM
#57
craftzombie avatar

craftzombie

Zen Follower

Join Date:
Jul 2006
Posts:
494
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

robax:

Is someone able to summarize this thread? I've just read through it and I'm still unsure what works with what version and what doesn't?

I run 1.302 now and have not installed any dual Pricing mods and would rather hold off until there's a solid version that definitely works either with 1.302 or a later cart.

Thanks for any advice.

Hello! I am using this mod on 1.3.6 and it works fine except for one thing. If you edit a product, you have to re-enter the wholesale price again. This is not a big deal though. Everything else works fine. I am using the download entitled "dual pricing_1_3-beta3.zip". If you'd like me to email you the version I have, send me a PM with your email and I'll send it to you. Also, somewhere on this thread they discuss a fix for a problem with copying attributes. I copied the fix into a text file and added it to the zip file. -April

(P.S. My previous post about the 4 different levels not working has been fixed. It works fine now on a fresh Zen install. There must have been something wrong with one of my files somewhere.)

22 Dec 2006, 10:38 AM
#58
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

I have problem with this modul,when i install it with shopping_cart.php in folder includes/classic.
If i use this file of this module , i cant check out or delete product :wacko: ...
When i restore it by origin file of zencart 1.36,shopping cart working...

Can somebody guide me to fix that?

Thanks you so much,

2 Jan 2007, 7:07 PM
#59
faristababa avatar

faristababa

New Zenner

Join Date:
Dec 2006
Posts:
45
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Hi, I have a little problem too whit my -- dual pricing_1_3-beta3 --. I have my Zen shop 1.3.5. running - I installt dual pricing_1_3-beta3. It works fine, only 1 problem if somebody register in my shop he get automatic the wholesale price. My Shop admin give him no number and so he gets wholesale instead of retail.

What I did wrong ??? Th:yes: nks for any help.

My website: http://www.naspex.info/designer_t-shirt/index.php

4 Jan 2007, 2:17 PM
#60
wolf99 avatar

wolf99

Zen Follower

Join Date:
Sep 2006
Location:
West of Ireland
Posts:
169
Plugin Contributions:
0

Re: DUAL Pricing version 2 for 1.3.0.2 Donations

Where can I find the most up to date version of this module? Am using 1.3.5 with no other pricing modules installed, and need seperate wholesale & retail pricing.

Thanks