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

Online Group Pricing

Views: 21,039

Results 61 to 80 of 123
19 Apr 2011, 3:58 AM
#61
rbarbour avatar

rbarbour

Totally Zenned

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

Online Group Pricing

Works fine when not logged in or nothing is in cart. Not Sure here?

19 Apr 2011, 4:30 AM
#62
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

I'm afraid that makes two of us. How can you see your shopping cart page if nothing is in the cart?

If that's the only page you're missing your footer, and the files in the .zip are the only change you've made, it stands to reason the issue is with the shopping_cart.php file. Try extracting and uploading it again. I'm not kidding when I tell you that it works absolutely fine on my end. Just tried it again, in fact, with the same files you have - logged in, not logged in, and merging a visitor cart with a stored member cart. I have all my parts. :)

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

19 Apr 2011, 4:59 AM
#63
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Online Group Pricing

I really am at a total loss.

if you type www.your_domain.com /index.php?main_page=shopping_cart

the shopping cart page displays and says Your Shopping Cart is empty.

If i add a product to shopping cart without being logged in all is there including footer.

Once I log-in the only the shopping cart page loses the footer.

Thanks for your attention on this again - I will look further into it in the morning.

19 Apr 2011, 5:34 AM
#64
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Sorry, forgot the wink after that one. Didn't mean for it to sound so literal. ;)

That really is strange, especially 'cause it's fine here. I can't think of any other OGP files I've changed that I would have and you don't - at least that would affect how the cart class/page functions.

Do you have debugging turned on? If so, go to your cache folder and see what the logs say. Or, open the error log from your server if you aren't using Zen's feature. Either way, they should tell you where the page is breaking.

Please let me know if there's anything else I can do.

Good luck! :)

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

19 Apr 2011, 4:34 PM
#65
brandon avatar

brandon

New Zenner

Join Date:
Mar 2005
Posts:
64
Plugin Contributions:
0

Re: Online Group Pricing

I am having challenges getting OGP to work. I am still seeing group discount applied to sale price.

This is a sanity check:

  1. Question: Confirm module is supposed prevent giving group discount off of special or salemaker price to group members? No config necessary to turn that on?

  2. I saw no way to disable group pricing as I was installing the mod.

  3. I tried adding new group, adding new customer and then adding them to group.

I am ready to start debugging code but I believe this mod is just what I need and works out of the box.

I need to modify it after it works to provide a rarely needed feature: never give any lower price to a group - what they agreed to is what they get. But not until the base function works.

Help is appreciated.

19 Apr 2011, 5:13 PM
#66
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Hi, brandon!

The reason you're seeing group discounts being applied to sales and specials is because you haven't turned off Zen's built-in group pricing. The instructions on how to do that are in the readme. Simply go to Admin -> Modules -> Order Total and disable Group Pricing (ot_group_pricing).

So, to give you back some sanity (LOL):

  1. Confirmed. The mod will calculate the lower price between sales/specials and the group price, and offer the customer that discounted price - not both.

  2. See above.

  3. If you had an issue trying to add customers to discount groups, I would suspect that, too, is due to still having Zen's group pricing enabled. Disable that and you should be good to go all around.

Hope this helps! :)

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

19 Apr 2011, 6:38 PM
#67
brandon avatar

brandon

New Zenner

Join Date:
Mar 2005
Posts:
64
Plugin Contributions:
0

Re: Online Group Pricing

ToniScraparoni:

Hi, brandon!

The reason you're seeing group discounts being applied to sales and specials is because you haven't turned off Zen's built-in group pricing. The instructions on how to do that are in the readme. Simply go to Admin -> Modules -> Order Total and disable Group Pricing (ot_group_pricing).
Ahh- I misread!
So, to give you back some sanity
Not possible :)
(LOL):

  1. Confirmed. The mod will calculate the lower price between sales/specials and the group price, and offer the customer that discounted price - not both.

  2. See above.
    great!

  3. If you had an issue trying to add customers to discount groups, I would suspect that, too, is due to still having Zen's group pricing enabled. Disable that and you should be good to go all around.

Hope this helps! :)

All seems well now.

Thanks a bunch - this one was puzzling me.

I forgot that often, in zen, addons often add parallel behaviors, requiring turning off the core behavior.

19 Apr 2011, 8:01 PM
#68
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

You're very welcome. Happy to help. :)

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

19 Apr 2011, 10:03 PM
#69
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Online Group Pricing

FYI

Toni, the footer issue had nothing to do with your mod. Everything works great now. Thank you.

19 Apr 2011, 10:16 PM
#70
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Thanks for the post. Appreciate it! Very happy to hear you're up and running. :)

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

22 Apr 2011, 1:44 PM
#71
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Re: Online Group Pricing

I tried installing this and was unable to get it to work due to a conflict with another module. I backed up the files before I began

admin/group_pricing.php
admin/includes/functions/functions_prices.php
admin/includes/languages/english/group_pricing.php
includes/classes/shopping_cart.php
includes/functions/audience_id.php
includes/functions/functions_prices.php
includes/languages/english/extra_definitions/group_pricing.php

and after seeing the module didn't work for me, I replaced this with the back-ups I had created. I lost some of the functionality I had before - is there a step I missed to get back to where I was? I had a custom quantity discount module and the creator is not responding to my requests for help.

22 Apr 2011, 2:47 PM
#72
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

includes/functions/audience_id.php and includes/languages/english/extra_definitions/group_pricing.php aren't overrides. Try removing those two files altogether.

Hope that will help. :)

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

22 Apr 2011, 3:15 PM
#73
treece avatar

treece

New Zenner

Join Date:
Aug 2008
Posts:
47
Plugin Contributions:
0

Re: Online Group Pricing

Thanks, but it didn't work. I am hanging my head in shame! I thought I did everything carefully, but I still messed it up.

24 Apr 2011, 7:42 AM
#74
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Hi, gang!

Just a note to say I've uploaded OGP again. I've also deleted any "interim" files since they're now outdated.

Here's what 0.26 will have in store for you:

-) Updated pricing function for efficiency & eliminated query - admin & includes; updated includes/languages definition file for same. Changed discount percentage to use base pricing function for calculation instead of normal price, in an effort to avoid possible PHP warnings for division by zero.

-) Added group pricing to quantity discounts.

-) Updated shopping cart class to accommodate group pricing on quantity discounts.

-) Added company name field to customer pages (file without also included).

-) Changed customer display to alphabetically by last name.

-) Added files to display price text for group members on all product pages, to display quantity discounts with group pricing on product info page, and to fix split-page navigation in admin.

	- admin/includes/classes/split_page_results.php
	- includes/modules/your_template/new_products.php
	- includes/modules/your_template/product_listing.php
	- includes/templates/your_template/templates/tpl_modules_products_quantity_discounts.php

-) Updated Whos Online prices for multiplication by quantity and additional formatting option. (code will be in readme file).

I'll let you know when it's ready for download. Stay tuned! :)

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

27 Apr 2011, 3:04 PM
#76
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Hold your download horses, everyone. There was a snafu with the upload. New files have been uploaded, and I'm sure it will be re-released as soon as the team gets a chance to get over there. My apologies for any confusion or inconvenience this may have caused.

I'll let you know when it's ready again. Please hang tight in the meantime, or grab it from the link in my signature if you can't wait. Thanks for your patience and understanding. Appreciate it! :)

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

30 Apr 2011, 2:18 AM
#77
solidrock avatar

solidrock

New Zenner

Join Date:
Nov 2009
Location:
Aurora, IN
Posts:
37
Plugin Contributions:
0

Re: Online Group Pricing

:smile: Great Mod, Toni! I installed version 0.25.

I installed this on 1.3.8a installation and it shows the discount as it should for each item. HOWEVER, when I go to shopping cart, my subtotal is 0 and total is 0. It is not adding them up.

I do use attributes in my pricing. Any ideas? :huh:

30 Apr 2011, 2:57 AM
#78
solidrock avatar

solidrock

New Zenner

Join Date:
Nov 2009
Location:
Aurora, IN
Posts:
37
Plugin Contributions:
0

Re: Online Group Pricing

OK, so I upgraded to 0.26, and now shipping is working, but it is still not totaling the order. So in my shopping cart it shows product total correctly, but then subtotal is $0, shipping is $7, and total is $7. And this is without being logged in as a discount group - just a regular user. HELP!

30 Apr 2011, 3:06 AM
#79
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

What happens when you are logged in as a group discount customer?

Any other mods installed that affect the OGP files? I'll see if I can try to replicate your issue in the meantime. That's certainly a strange one! Even for 1.3.8a. ;)

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

30 Apr 2011, 4:24 AM
#80
solidrock avatar

solidrock

New Zenner

Join Date:
Nov 2009
Location:
Aurora, IN
Posts:
37
Plugin Contributions:
0

Re: Online Group Pricing

It happens whether I am logged in as a Group customer or a regular customer. I have removed your MOD and replaced by original files pending a solution. Any ideas would be appreciated. Thanks for the quick reply!