Zen Cart Logo
Forums / All Other Contributions/Addons / Online Group Pricing

Online Group Pricing

Views: 21,039

Results 41 to 60 of 123
24 Mar 2011, 6:40 PM
#41
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Online Group Pricing

Hi Judy,

That sounds like a job for Group Pricing per Item, which is product-based and set individually on the Add/Edit Product page. OGP is group-based. However, you might be able to use both mods together to get the result your client needs. It would be easier to combine if only a portion of products would be affected, as opposed to having to reprice an entire inventory with GPPI.

Hope this helps!

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

24 Mar 2011, 6:43 PM
#42
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: Online Group Pricing

Thanks for the quick reply Toni! I don't think Group Pricing Per item works for 1.3.9 series though and this is a new store.

Have a fantastic day!

ToniScraparoni:

Hi Judy,

That sounds like a job for Group Pricing per Item, which is product-based and set individually on the Add/Edit Product page. OGP is group-based. However, you might be able to use both mods together to get the result your client needs. It would be easier to combine if only a portion of products would be affected, as opposed to having to reprice an entire inventory with GPPI.

Hope this helps!

24 Mar 2011, 7:08 PM
#43
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Oops! Didn't know that. I don't use GPPI. Installed it once and promptly removed it. Too much work for my shop, yet it could be handy for cases like yours. Sorry to hear it doesn't work for 1.3.9.

If you have any PHP knowledge, the quickest thing I can think of to try with OGP would be to add a condition to the shopping cart class instructing default pricing be used on whichever product IDs would be affected. The same should probably be added to the pricing function itself, so the display everywhere will match. Then you'd have to update both when new "excluded" products are added to inventory. Not very elegant, but it would probably work.

HTH!

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

27 Mar 2011, 5:12 PM
#44
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Re: Online Group Pricing

Just to let you know, Toni's version (0.25) does indeed work on Zen Cart 1.3.8a :clap:

All you need to do is copy the sections of code that have been clearly marked by Toni (scan the source for OGP) and merge them into your 1.3.8a files.
Using something like DiffMerge makes this a whole lot easier!

Thanks for the mods Toni, it worked great on my store.

28 Mar 2011, 1:46 AM
#45
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

You're more than welcome, Damian. Thank you for the update! :)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

30 Mar 2011, 3:24 PM
#46
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

think I am missing something, installed and admin side works but on the catalog side it does not display gp on product info page just in shopping cart.

Any suggestions

30 Mar 2011, 5:06 PM
#47
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Did you upload the language file? If so, maybe your FTP program munched it. Try to upload the includes/ set of files again.

Did you run the SQL patch?

Have you previously modded your product info template? OGP doesn't include any template files. Everything is done through the pricing function, which ensures a consistent display everywhere.

Have you ever had OGP installed before? If so, remove includes/modules/pages/product_info/main_template_vars.php and replace with core.

That's all I've got off the top of my head. Hope it helps! :)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

31 Mar 2011, 11:50 PM
#48
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

I double checked all and removed includes/modules/pages/product_info/main_template_vars.php and replace with core

Not sure if this matters but do I need to install the MSRP mod for it to work?

1 Apr 2011, 12:19 AM
#49
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Everything you need for OGP is in the .zip. Nothing else is necessary.

What do you see on your product_info page? Where the price should be, I mean. ;)

What version of Zen are you using? Any mods installed that would affect the product info template or functions_prices?

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

8 Apr 2011, 10:27 PM
#50
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

I got this working fine but is their a way to add the GP to bulk/qty prices also?

9 Apr 2011, 5:23 PM
#51
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

I'm sure there is. :)

Consider it on the to-do list. Updated files will be posted as soon as time permits.

Glad you were able to get it up and running!

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

13 Apr 2011, 7:26 PM
#52
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

Thanks Toni,

Great job on this mod btw. Any plans in the near future for this feature. Over 50% of the products being offered have qty prices and 90% of the customers belong to a group.

Just being a wiseguy but the desc states:
7.) Works on all products and pricing methods.

I will tinker with coding a bit to see if I can make it work.

Thanks again for the speedy replies and mod!

13 Apr 2011, 11:03 PM
#53
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

LOL at being a wiseguy. I thought it did. Hehe! It's funny, though, I kept having the niggling feeling I'd forgotten to check something. That must have been it! Glad you're liking it otherwise. :)

I've already done some upgrading to the mod. I'll try to get the rest done as soon as possible, which is all I can promise. I've just finished some mods for my own store and have to take care of some other affairs before I can return to coding again.

In the meantime, would you mind posting the normal settings you would use for a "qty priced" product? And let me know if it has attributes, no attributes, etc. Just want to be sure I recreate the correct cirumstances, as qty pricing isn't something I use at my store. No wonder I forgot to check it. ;)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

14 Apr 2011, 9:18 PM
#54
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

My circumstances are fairly easy.

5 Discount Levels
Discount Type: Actual Price
Discount Price from: Price

No attributes at all - ever

Example - if the product is $10.00ea - qty discount for 5 would be $5.00ea - and with their Group Discount of 50% would make Price $2.50ea

Hope this helps, I have been playing with code but not a coder here.

Thanks
Toni

15 Apr 2011, 5:21 AM
#55
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Thanks for adding the details. I appreciate it! I will work on it as soon as I can get to my sandbox. Promise. :)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

17 Apr 2011, 3:24 AM
#56
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

Thanks for your attention to this :smile:

18 Apr 2011, 9:37 AM
#57
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Still a couple of things I want to do before I re-submit the mod for download. Please try these in the meantime. There are three files in the .zip:

includes/classes/shopping_cart.php
includes/functions/functions_prices.php
includes/templates/your_template/templates/tpl_modules_products_quantity_discounts.php

The template alteration is new to the mod, which you'll need if you want to display the quantity discount price on the product info page with the group discount applied.

Change the name of the folder "your_template" to whatever the name of your template is, then upload all three files. That should do it! :)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

19 Apr 2011, 1:44 AM
#58
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

Great, works like a charm!

However I lost the footer in my shopping cart, I will see if I can find what is causing this.

Thanks!

19 Apr 2011, 2:38 AM
#59
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Glad to hear it works! I think I had OGP pricing the discounts right before I had the discounts right. LOL!

Lost footer most likely means you've forgotten a curly brace or have one too many. Just checked the sandbox and mine is fine. ;)

If you don't have any other mods installed into the shopping cart class, swap out the old file for new rather than merging it.

I'm sure you'll figure it out one way or another. I'll post again when the-even-more upgraded version is available for download. Stay tuned! :)

If you want something done right, you have to get Zenned.
♥-My Zen Cart Mods-♥

19 Apr 2011, 3:22 AM
#60
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Online Group Pricing

ToniScraparoni:

Lost footer most likely means you've forgotten a curly brace or have one too many. Just checked the sandbox and mine is fine. ;)

If you don't have any other mods installed into the shopping cart class, swap out the old file for new rather than merging it.

Using new file?