If this is your first visit, check our documentation. To post, register or login.

Group Pricing Per Item Support thread

Started by swguy on 3 May 2015, 5:19 PM · Views: 7,047

Results 1 to 20 of 31
3 May 2015, 5:19 PM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Group Pricing Per Item Support thread

There hasn't been a support thread set up yet for this mod, so I figured I'd go ahead and do it.

Link to Group Pricing Per Item Mod: https://www.zen-cart.com/downloads.php?do=file&id=154

The 1.5.3 upgrade has been approved but there is at least one defect in it: This fix from 1.5.2 is not included. (> is 1.5.2; < is 1.5.0)

1225c1225
<       $display_specials_price = zen_get_products_special_price($product_id, true);
---
>       $display_specials_price = zen_get_products_special_price($product_id, false);

If an expert who is using this mod could patch this update, it would be great.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

20 May 2015, 7:24 PM
#2
ilmarchez avatar

ilmarchez

Zen Follower

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

Re: Group Pricing Per Item Support thread

Hi,

I'd like to limit some payment methods and shipping methods to some customers groups.
How could I do that?

thank you very much

7 Aug 2015, 4:47 AM
#3
mrsensible avatar

mrsensible

New Zenner

Join Date:
Mar 2010
Posts:
11
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

Has anyone tried this with ZenCart 1.5.4?

8 Aug 2015, 4:53 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Group Pricing Per Item Support thread

This mod changes a number of core files, so it would need to be upgraded before being used in 1.5.4.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

22 Sep 2015, 8:47 PM
#5
kabko avatar

kabko

New Zenner

Join Date:
Dec 2009
Posts:
37
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

Hi guys.

I have a small problem.

The discounted price for the customer is showing ok (with VAT), however the retail price is showing without VAT. I need the RETAIL PRICE to also show the price WITH VAT. Could someone help me with this?

Thank you,
Peter

2 Nov 2015, 8:16 PM
#6
roberttimmons avatar

roberttimmons

New Zenner

Join Date:
Apr 2010
Posts:
40
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

well I was hoping this would work on my 1.54 install.. everything worked as it should but the assigned groups do not reflect the group pricing in the front end.. Anyone have any success making this work on 1.54?

2 Nov 2015, 8:27 PM
#7
roberttimmons avatar

roberttimmons

New Zenner

Join Date:
Apr 2010
Posts:
40
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

nevermind. I got it to work..Had to modify the group_price_per_item.php in the non admin side. customer changed default group names without telling me.

29 Nov 2015, 11:38 PM
#8
mr_lunch avatar

mr_lunch

New Zenner

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

Re: Group Pricing Per Item Support thread

@roberttimmons, no other changes apart from that to get it functional on 1.5.4?

14 Dec 2015, 2:30 PM
#9
yogeshvara avatar

yogeshvara

New Zenner

Join Date:
May 2014
Location:
United States
Posts:
23
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

The developer i am working with suggests it is foolish for us to self modify since future changes to other modules may not play well with any changes we make, so he wants us to wait for a certified 1.5.4 version. I don't understand fully how all this works. Anyone know if this is being worked on? Is there a way I can encourage the process?

4 Jan 2016, 12:30 PM
#10
digyourownhole avatar

digyourownhole

New Zenner

Join Date:
Oct 2015
Location:
Amsterdam
Posts:
12
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

I am using Group Price Per Item (https://www.zen-cart.com/downloads.php?do=file&id=154) which installed nicely (in zencart 1.5.4).

I created groups in the admin panel (Admin Panel -> Customers -> Group Pricing). For instance:
Group Name: "Group A" Percentage Discount: "10%"
Group Name: "Group B" Percentage Discount: "20%"
Group Name: "Group C" Percentage Discount: "30%"
Group Name: "Group D" Percentage Discount: "40%"

And assigned groups to customers (Admin Panel -> Customers -> Customers > "Discount Pricing Group")

Trying to edit a product in my catalogue I now see 2 new extra price fields for each 'Per Item' group you've created. As follows:

Tax Class: 21%
Products Price (Net): 82.6446
Products Price (Gross): 100

Group A Price (Net): 0.0000
Group A Price (Gross): 0
Group B Price (Net): 0.0000
Group B Price (Gross): 0
Group C (Net): 0.0000
Group C (Gross): 0
Group D Price (Net): 0.0000
Group D (Gross): 0

However the discount per item group are not automatically calculated. All is set to 0.

I would like the Discount % that I added to these groups in Admin Panel -> Customers -> Group Pricing to be caclulated automatically as this would save precious time seeing that I expect 10.000 products in my store. So in this case automatically generating:

Group A Price (Net): 74.3802
Group A Price (Gross): 90
Group B Price (Net): 66.1157
Group B Price (Gross): 80
Group C (Net): 57.8512
Group C (Gross): 70
Group D Price (Net): 49.5868
Group D (Gross): 60

Did i do something wrong or can this module only provide the fields and do i have to input the prices manually (eventhough I have given the % Discount per group)?

Thanks in advance!

kind regards

P.S. also a nice to have: I'd like includes/templates/template_default/templates/tpl_product_info_display.php to display the retail price including tax (my store default is set to show prices incl tax). It now shows RETAIL price without tax making retail seem cheaper in some cases.

27 Jan 2016, 10:55 AM
#11
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

digyourownhole:

I am using Group Price Per Item (https://www.zen-cart.com/downloads.php?do=file&id=154) which installed nicely (in zencart 1.5.4).

I created groups in the admin panel (Admin Panel -> Customers -> Group Pricing). For instance:
Group Name: "Group A" Percentage Discount: "10%"
Group Name: "Group B" Percentage Discount: "20%"
Group Name: "Group C" Percentage Discount: "30%"
Group Name: "Group D" Percentage Discount: "40%"

And assigned groups to customers (Admin Panel -> Customers -> Customers > "Discount Pricing Group")

Trying to edit a product in my catalogue I now see 2 new extra price fields for each 'Per Item' group you've created. As follows:

Tax Class: 21%
Products Price (Net): 82.6446
Products Price (Gross): 100

Group A Price (Net): 0.0000
Group A Price (Gross): 0
Group B Price (Net): 0.0000
Group B Price (Gross): 0
Group C (Net): 0.0000
Group C (Gross): 0
Group D Price (Net): 0.0000
Group D (Gross): 0

However the discount per item group are not automatically calculated. All is set to 0.

I would like the Discount % that I added to these groups in Admin Panel -> Customers -> Group Pricing to be caclulated automatically as this would save precious time seeing that I expect 10.000 products in my store. So in this case automatically generating:

Group A Price (Net): 74.3802
Group A Price (Gross): 90
Group B Price (Net): 66.1157
Group B Price (Gross): 80
Group C (Net): 57.8512
Group C (Gross): 70
Group D Price (Net): 49.5868
Group D (Gross): 60

Did i do something wrong or can this module only provide the fields and do i have to input the prices manually (eventhough I have given the % Discount per group)?

Thanks in advance!

kind regards

P.S. also a nice to have: I'd like includes/templates/template_default/templates/tpl_product_info_display.php to display the retail price including tax (my store default is set to show prices incl tax). It now shows RETAIL price without tax making retail seem cheaper in some cases.

I actually do not see it working this way. You seem to be expecting to see a % off across the board. However, if you look at the database, There are new columns in the Products table for these Group Prices and they are in fact blank. If you want to apply a % off initially, the best solution would be to run a SQL update statement on the database. WARNING: this is not for the squeamish and you should test this on a copy of your database first.

28 Jan 2016, 1:22 PM
#12
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
635
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

I am installing this plugin on v1.5.1

I see an odd difference between the distribution files and this plugin that I cannot explain

Distro File is

    return zen_draw_textarea_field($name, false, 60, 5, htmlspecialchars($text, ENT_COMPAT, CHARSET, TRUE));

Plugin File is

    return zen_draw_textarea_field($name, false, 60, 5, htmlspecialchars($text, ENT_COMPAT, CHARSET, FALSE));

Which one do I use? The plugin code does not "look" like a plugin mod but maybe an older version of ZC? 1.5.0?

My Winmerge comparison is showing that the files modified by this plugin are the same files modified by Numinix Product Fields and FEC. So if you use these you need to do detailed checks.

6 Apr 2016, 12:35 PM
#13
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

I'm trying to install this plugin on a 1.5.4 site.

Most of it is working as I want, but when I am logged in as a customer with a discount, add a product to my cart, then the prices in the shopping cart show the normal price, not the discounted price.
The normal price is also the price you see when I continue with the checkout.
The correct discounted price is shown on the product page and on the product listing page from the category the product belongs to.

Other plugins which may influence the price:

  • Vat mod
  • inc ex taxes (it doesn't matter what I set this to)

Is there something I forgot to do? Does anyone know how to solve this?

Thanks

6 Apr 2016, 1:01 PM
#14
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

And I already found the solution. I had made a small change somewhere and made it say $product instead of $products with an s at the end.

31 Jul 2017, 11:31 PM
#15
lindagal2 avatar

lindagal2

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

We offer member discounts on specific items, but not via percentage -- rather, individual pricing on specific items. I would like to use this Group Pricing (per item) plugin:
https://www.zen-cart.com/downloads.php?do=file&id=154

However, the plugin is dated 2015 and upon reading further, ran acros this thread cautioning use (in version 1.5.4) until plugin is updated:
https://www.zen-cart.com/showthread.php?217124-Group-Pricing-Per-Item-Support-thread

My question: Is there another way to accomplish my goals? Otherwise, does this plugin work well with version 1.5.5? It appears to be the only group pricing with the per item option shown in the list of plugins.

Thx.

1 Aug 2017, 1:26 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Group Pricing Per Item Support thread

Hi Linda,
Do you want to test this update? www.zen-cart.com/downloads.php?do=file&id=154 - specific for v1.5.5
It's just a quick merge of the v1.5.3 file changes to create a set of v1.5.5 files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Aug 2017, 1:35 AM
#17
lindagal2 avatar

lindagal2

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

Yes! Thanks ... doing so now.

1 Aug 2017, 2:08 AM
#18
lindagal2 avatar

lindagal2

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

Okay, I made the SQL patch via admin / tools / install sql patch. Also uploaded all the replacement files for 1.5.5

While adding "Group A," it still specifies a percentage discount. Also, if I am on the product page, how/where do I assign the specific "group A" price? I do not see a selection for alternate pricing.

Last but not least, if I choose to change "Group A" to "Members" after the fact (yes, I should have thought about it before) do I simply re-do the SQL patch with the name adjustments specified in the "read me" file?

Thx.

PS I have added a test customer to "group a"

1 Aug 2017, 2:18 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Group Pricing Per Item Support thread

The "name" of each group is in the 2 group_price_per_item.php files. See the README file, section 2.

You can assign a group to each customer, so that customer gets that group's prices.

The files in this plugin only work for "Product General" products. Are you using a different product-type?

If your products are "Product General" type, then you in new/edit mode you'll see 4 group-specific pricing fields. This is where you set the per-group price for this item.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Aug 2017, 2:38 AM
#20
lindagal2 avatar

lindagal2

New Zenner

Join Date:
Jan 2008
Posts:
73
Plugin Contributions:
0

Re: Group Pricing Per Item Support thread

Thx DrByte --

I renamed "Group B" as "AATF Members" in the two "group_price_per_item.php" files. Then under Customers / Group Pricing, I created the group name "AATF Members" (which was specified as one of the four types of membership in the line below "Group Pricing" title. I then added a test customer to that group.

However, under ID / Group Name / % Discount it lists:
1 | AATF Members | Per Item 0.00%

Is the "0.00%" the reason no alternative pricing shows up under any of the merchandise? Each item is a different discount price unfortunately, so a global percentage rate does not work for me. Am I doing something else wrong?