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

Online Group Pricing

Views: 21,039

Results 81 to 100 of 123
30 Apr 2011, 5:07 AM
#81
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Online Group Pricing

You're most welcome. So far, no luck reproducing the error, I'm afraid. I'll look into it more tomorrow and post back if I find anything. Can't guarantee I will, given I'm using files from a different version of Zen, but I'll certainly try my best to pinpoint it for you. I'd like it to work for everyone if at all possible, even if you should be kicking 1.3.8a to the curb. ;)

Hang tight and have a nice night in the meantime. :)

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

1 May 2011, 4:25 AM
#82
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Hey solid,

Can you please give me the settings you have in place for a product priced with attributes? I think I'm driving myself a little crazy here. :wacko:

What about price factoring? Is that something you would want group pricing applied to?

I've found one-time charges were missing group pricing, but I haven't been able to duplicate your "no totals" issue. I have totals. All kinds of totals. LOL! They seem to change depending upon the combo of admin settings for the product. The checkout total is always correct, at least according to the listed prices in the cart, which is where the discrepancies seem to lie. A "control" product would be really helpful.

Thanks!

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

2 May 2011, 1:16 AM
#83
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Version 0.30 has been submitted for upload.

Sans the receipt of attribute-priced feedback, I created my own mini-inventory and compared my OGP code against core pricing for control purposes. OGP seems to function properly in all scenarios. Added group pricing to words, letters, factoring, anything and everything attribute-related. Hope that's what you attribute-pricers would want. If not, well, you should have spoken up a lil' sooner. ;)

I'd say this puppy is a wrap! Please let me know if you find something that doesn't work properly - in 1.3.9. Otherwise, I think we can happily group discount until 1.50 makes its debut. :)

V0.30 - Release Notes:

-) 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 group pricing to onetime attribute charges & attribute quantity discounts,
reworked complete OGP attribute code for accuracy in both pricing functions and shopping
cart class.

-) 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, non-group
members to display text with attribute pricing, 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_product_info_display.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 included in readme file.)

Grab it from the link in my signature in the meantime. Have fun! :)

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

4 May 2011, 8:56 PM
#85
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Online Group Pricing

It works together with:
wholesale pricing mod?

Thanks !

4 May 2011, 9:20 PM
#86
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

I have no idea what the wholesale pricing mod entails. But I would assume so, as long as you integrate the changes from both mods into any common files they may share.

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

4 May 2011, 9:28 PM
#87
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Online Group Pricing

ToniScraparoni:

I have no idea what the wholesale pricing mod entails. But I would assume so, as long as you integrate the changes from both mods into any common files they may share.

If I will merge the files you made them change it will work?

5 May 2011, 10:32 PM
#88
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Online Group Pricing

ToniScraparoni:

0.30 is ready! :)

Toni,

Love the additions - very flexible & gives a great consistency to the store.

Any easy way to exclude a category?

5 May 2011, 11:39 PM
#89
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

LOL at your new sig! Too funny. Very glad you're liking the new changes. :)

To answer your question, yes, it can be done, but I wouldn't say it's easy. I've done it at my store. It requires additional coding and queries, as well as a bit of manual upkeep if your categories should change. Short of coding user management into an admin feature, of course. Product IDs are easier to work with when it comes to pricing, especially in the cart, where the core code has nothing to do with categories.

I'd guess that's probably why most discount modules are order total mods, rather than "line item" discounts like OGP. Showing the discounted prices individually definitely takes more effort. But it can certainly be done - any way you want it to be. Just one great thing about PHP, Zen, and open source software. And I'm always available for custom projects if you need/want one. :)

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

13 May 2011, 10:52 PM
#90
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Online Group Pricing

This look like can replace wholesale pricing mod?

13 May 2011, 11:10 PM
#91
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

I'm not sure how the wholesale pricing mod works, i.e. if it's product- or customer-based, as I've never had it installed at my store, but, yes, you could absolutely use OGP to offer wholesale pricing to a group of wholesale customers.

HTH! :)

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

15 May 2011, 3:00 PM
#92
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Online Group Pricing

What happen if do Zen upgrade after installing this mod? Do I need to re-install or edit this mod again?

15 May 2011, 3:49 PM
#93
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

What happens with other mods you've installed? ;)

Of course you would overwrite any changes you've made or mods you've installed if you upgrade by simply uploading a new file set. Once your installation is no longer "stock," the best thing to do is merge, merge, merge. And use your override directory whenever possible.

Personally, I keep a folder of modified Zen files on my computer so I know what needs attention when it's upgrade time.

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

26 May 2011, 8:55 PM
#94
rbarbour avatar

rbarbour

Totally Zenned

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

Re: Online Group Pricing

Is their a way to exclude a product_type say document_product from OGP.

Thanks in advance!

31 May 2011, 5:45 PM
#95
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Online Group Pricing

As I understand, online group pricing is based on assigning different level of group of customers/members to receive the discounts.

Is this possible to set up quantity discounts for all buyers?

Is this can be worked with Group pricing addon?

If yes, is it possible to setup quantity discount with option by fix amount and % on shipping cost only? instead of on product.

I am not yet using this online group pricing addon, sorry for the questions maybe already answered previously.

Thanks in advance.

7 Jun 2011, 1:40 PM
#96
oregonbum avatar

oregonbum

New Zenner

Join Date:
Sep 2004
Location:
Southern Oregon
Posts:
23
Plugin Contributions:
0

Re: Online Group Pricing

I just installed your mod - great btw. But have some tweaking I need to do in order to meet what the client wants.

If a customer is in one of the discount groups, I need to hide the retail price & the "you saved..." lines. What do I need to comment out, modify to do that? I've dug into the modules/mine/product_listing.php page & am not seeing enough recognizable.

:) Christy

15 Jun 2011, 4:48 PM
#97
nsupport avatar

nsupport

New Zenner

Join Date:
Jun 2011
Posts:
14
Plugin Contributions:
0

Re: Online Group Pricing

Hey thanks in advance for your help... I have been posting in another thread chasing my tail to figure out how to use salemaker OGP and attributes together. Here is the issue as it is boiled down.

I have salemaker set for 40% off for all items.. If i set items so the Product Priced by Attributes: is NO it works just fine for customers who do not have a pricing group. I am using online group pricing to set discounts on all items for wholesale customers. Is there a way to get it not to apply the group pricing discount to the attribute.....

i.e. right now if i give the customer the setting of wholesale group it replaces the 40% off for everyone with 50% off for the wholesale group but it then discounts the attribute with 50% off even though it is set with The Onetime Attribute marked:
Apply Discounts Used by Product Special/Sale: NO

This is my hurdle.... is there any way to fix the OGP mod to acknowledge the Apply Discounts Used by Product Special/Sale: NO set on the attribute...

.......

Zen is being present here and now with what is here and now just as it is.

15 Jun 2011, 5:24 PM
#98
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Hi, nsupport!

The sale wouldn't be discounting the attributes and one-time charges if they're being discounted 50%, at least based upon the figures you gave. Your group discount is 50% and your sale is running at 40%. That would be OGP doing its attribute job, not an admin setting or anything to do with salemaker.

So, if you're using onetime charges and don't want them discounted with OGP, try commenting out line 1270 of includes/functions/functions_prices.php, like this:

// BOF TONI OGP
//$attributes_price_final_onetime = zen_display_group_pricing($attributes_price_final_onetime, $qty=1);
// EOF TONI OGP

Let me know if the above doesn't do the trick. Onetime charges are also included in the final attribute pricing function, which I can look at in more detail later today.

Hope this helps! :)

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

15 Jun 2011, 6:08 PM
#99
nsupport avatar

nsupport

New Zenner

Join Date:
Jun 2011
Posts:
14
Plugin Contributions:
0

Re: Online Group Pricing

I commented out that line to no avail.... On the item before adding it to the cart it looks correct. see below.

Here is what is says on the item:----------

Deluxe Brushed Gold Black Liner 30X40

  • One time charges may apply
    Retail Price: $108.30
    Your Price: $54.15
    Save: 50% off
    Model: B30X40BG-B

Handling Surcharge
Oversized Best Way *$20.00

  • One time charges may apply

Here is what it adds to the cart:----------

Deluxe Brushed Gold Black Liner 30X40 $54.15
Handling Surcharge - Oversized Best Way $10.00

So even though the attribute is set to not apply discounts:

Apply Discounts Used
by Product Special/Sale: No

the group still receives a discount on the attribute which is a handling surcharge that i never want discounted...

Thank you for your prompt response....

.......

Zen is being present here and now with what is here and now just as it is.

16 Jun 2011, 12:17 AM
#100
toniscraparoni avatar

toniscraparoni

Zen Follower

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

Re: Online Group Pricing

Next thing:

Comment out line 1087 in includes/classes/shopping_cart.php, like this:

// BOF TONI OGP
//$attributes_price_onetime = zen_display_group_pricing($attributes_price_onetime);
// EOF TONI OGP

Let me know what happens. :)

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