Zen Cart Logo
Forums / All Other Contributions/Addons / Group Pricing Per Item Issue

Group Pricing Per Item Issue

Views: 60,111

Results 121 to 136 of 136
1 Apr 2012, 11:37 PM
#121
ecommercefree avatar

ecommercefree

New Zenner

Join Date:
Jul 2010
Posts:
38
Plugin Contributions:
0

Group Pricing Per Item Issue

I have tried to install the Group Pricing (per item) module with no luck. I am using zencart v.1.3.9b.

After install I navigate to my admin folder to get to the login screen and there is absolutely nothing there!

and when i check in the read me file, this module actually compatible with Zen-Cart 1.3.8

so, i also did not do any backup beofre installing this module

can anyone help me? my web is blank now

2 Apr 2012, 10:06 AM
#122
gopinathgoswami avatar

gopinathgoswami

New Zenner

Join Date:
Nov 2011
Posts:
32
Plugin Contributions:
1

Re: Group Pricing Per Item Issue

I installed this mod today it is working fine. But, earlier I had installed Buy One and Get One FREE module from this link http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1844. This module was working fine earlier, but after installing Group Pricing module, it is not working.

Though I took enough care by using winmerge so as to not to remove any relevant codes of earlier installs, it stopped working.

Presently using: v1.3.9h. Any help please...???

Regards

6 Apr 2012, 9:12 AM
#123
gopinathgoswami avatar

gopinathgoswami

New Zenner

Join Date:
Nov 2011
Posts:
32
Plugin Contributions:
1

Re: Group Pricing Per Item Issue

I also observed that when I hit Catalog->Specials in admin, it throws internal server error.

13 Apr 2012, 12:03 PM
#124
newbie76 avatar

newbie76

Zen Follower

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

Re: Group Pricing Per Item Issue

Tried this with zc 1.5.0 but couldn't get it to work, I could create the group, assign it to a member (test account) and could add the secondary price when updating products, however, when logged in the test account member does not see the reduced price at all.

According to the instructions, when adding a group for this add on to leave the percentage field blank (I done this), and then under groups it should show "per item", however, mine shows "per item 0.00%" and it's this 0.00% that it seems to be listening to as opposed to the secondary 'group price' added to the product itself.

I had to merge the following files:

admin - includes - functions - general.php
admin - includes - modules - update_product.php
admin - includes - modules - product - collect_info.php

along with the tpl_product_info_display.php due to having other mods that used them (numinix product fields and ceon mapping), however I used winmerge to do this and am sure that all necessary variables were merged.

Any advice would be greatly appreciated.

27 Apr 2012, 6:56 AM
#125
chargin avatar

chargin

Zen Follower

Join Date:
Sep 2011
Posts:
136
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Looks like support is hard to get with this mod?
After a bit of googling Ive found this page and am having similar problems

"ecommercefree" post #121, I had the same problem as you, using 1.39h, I got a blank admin area. I narrowed it down to the "general.php" file that gets uploaded to admin. If you overwrite that file with the old one, it allows you to login again, and most of the mod appears to work, but I havent tested all the functions yet.
This problem is why Im here, I cant upload general.php and the changes it contains without breaking my site.

Heres the main change I could spot in the file, any ideas why this would cause admin to display a blank white page?

// BEGIN DJS MOD 06/10/2009 to Group Pricing per Item add-on
/* $products = $db->Execute("select p.products_id, pd.products_name, p.products_price, p.products_model
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
order by products_name");
*/
$products = $db->Execute("select p.products_id, pd.products_name, p.products_price,
p.products_group_a_price,
p.products_group_b_price,
p.products_group_c_price,
p.products_group_d_price,
p.products_model
from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
order by products_name");
// END DJS MOD to Group Pricing per Item add-on
}

while (!$products->EOF) {
  if (!in_array($products->fields['products_id'], $exclude)) {
    $display_price = zen_get_products_base_price($products->fields['products_id']);
    $select_string .= '<option value="' . $products->fields['products_id'] . '"';
    if ($set_selected == $products->fields['products_id']) $select_string .= ' SELECTED';

// BEGIN DJS MOD 06/10/2009 to Group Pricing per Item add-on
// $select_string .= '>' . $products->fields['products_name'] . ' (' . $currencies->format($display_price) . ')' . ($show_model ? ' [' . $products->fields['products_model'] . '] ' : '') . ($show_id ? ' - ID# ' . $products->fields['products_id'] : '') . '</option>';
$select_string .= '>' . $products->fields['products_name'] . ' (' . $currencies->format($display_price) . ', A: ' . $currencies->format($products->fields['products_group_a_price']) . ', B: ' . $currencies->format($products->fields['products_group_B_price']) . ', C: ' . $currencies->format($products->fields['products_group_c_price']) . ', D: ' . $currencies->format($products->fields['products_group_d_price']) . ')' . ($show_model ? ' [' . $products->fields['products_model'] . '] ' : '') . ($show_id ? ' - ID# ' . $products->fields['products_id'] : '') . '</option>';
// END DJS MOD to Group Pricing per Item add-on

Also gopinathgoswami, I too have an error when I go to the specials page. Heres the string-

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xxxxx/public_html/xxxxxxx/specials.php on line 42

18 May 2012, 1:34 PM
#126
rick_at_dbs avatar

rick_at_dbs

New Zenner

Join Date:
Apr 2012
Posts:
3
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Newbie76:

Tried this with zc 1.5.0 but couldn't get it to work, I could create the group, assign it to a member (test account) and could add the secondary price when updating products, however, when logged in the test account member does not see the reduced price at all.

According to the instructions, when adding a group for this add on to leave the percentage field blank (I done this), and then under groups it should show "per item", however, mine shows "per item 0.00%" and it's this 0.00% that it seems to be listening to as opposed to the secondary 'group price' added to the product itself.

I had to merge the following files:

admin - includes - functions - general.php
admin - includes - modules - update_product.php
admin - includes - modules - product - collect_info.php

along with the tpl_product_info_display.php due to having other mods that used them (numinix product fields and ceon mapping), however I used winmerge to do this and am sure that all necessary variables were merged.

Any advice would be greatly appreciated.

I am having this exact same issue (zc 1.5.0). I am not using the 2 mods you mention, and installed everything unmodified. I can set the groups up in the Admin, but nothing changes on the customer-facing side when I log in under one of the groups. Mine also shows "per item 0.00%" in the admin, although I have set the prices for each group.

One thing I noticed during setup, and I am unsure whether this affects anything: when running the SQL statement to update the tables, only the "ALTER TABLE products" statement returned any results. The "ALTER TABLE specials" statement returned 0.

24 May 2012, 7:55 PM
#127
rick_at_dbs avatar

rick_at_dbs

New Zenner

Join Date:
Apr 2012
Posts:
3
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Rick.at.DBS:

I am having this exact same issue (zc 1.5.0). I am not using the 2 mods you mention, and installed everything unmodified. I can set the groups up in the Admin, but nothing changes on the customer-facing side when I log in under one of the groups. Mine also shows "per item 0.00%" in the admin, although I have set the prices for each group.

Ok, I went through and re-installed the mod and now it is working fine.

The culprit was human error: the customer group names got changed in the file group_price_per_item.php, as per the instructions, but somehow the original unmodified file got uploaded to the server. Doh!

8 Jun 2012, 10:43 PM
#128
billhuggins avatar

billhuggins

New Zenner

Join Date:
Oct 2011
Posts:
3
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

I was able to install and get the mod working great on 1.5

The only issue im having problems with, is it doesnt seem to work with attributes added. Im assuming at this point it was not configured for this?
does anyone know of a multiple pricing option (retail / wholesale) that would also include the reduced pricing for attributes?

Thank You
Bill H.

21 Jun 2012, 8:11 AM
#129
mr_lunch avatar

mr_lunch

New Zenner

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

Re: Group Pricing Per Item Issue

Display retail prices doesn't include tax on product info page.

Note that the issue below appears to still exist in the current version for 1.5.0

swagmani:

Hi all,

has anyone else noticed that the '($0.00 Retail)' text under the group price doesn't appear to include tax when tax is set to show in Shop?

If i am correct the problem lies in file:

/cart/includes/functions/functions_prices.php

Specifically in - function zen_get_products_retail_display_price($products_id) - in this line of code:

if ($display_retail_price) $display_retail_price = '<span id="retailPrice">' . RETAIL_PRICE_PREFIX_TEXT . $currencies->display_price($display_retail_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])) . RETAIL_PRICE_SUFFIX_TEXT . '</span><br />' . $display_retail_price . ' - - ' . $product_check->fields['products_tax_class_id'];

> ```php
$product_check->fields['products_tax_class_id']
```to fix this add this line of code in - function zen_get_products_retail_display_price($products_id)
> ```php
$product_check = $db->Execute("select products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'" . " limit 1");
```working example:
> ```php
    $product_check = $db->Execute("select products_tax_class_id, products_price from " . TABLE_PRODUCTS . " where products_id = '" . (int)$products_id . "'" . " limit 1");

    // no prices on Document General
    if ($product_check->fields['products_type'] == 3) {
      return '';
```regards,
> Matthew
6 Aug 2012, 5:44 PM
#130
g33k avatar

g33k

New Zenner

Join Date:
Jul 2012
Location:
SW Ohio
Posts:
2
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Rick.at.DBS:

Ok, I went through and re-installed the mod and now it is working fine.

The culprit was human error: the customer group names got changed in the file group_price_per_item.php, as per the instructions, but somehow the original unmodified file got uploaded to the server. Doh!

Actually...

It is the instructions that are mistaken. There are still 2 group_price_per_item.php files to be edited in 1.5.0. You must have come across the 2nd and thought it was the 1st.

To clarify:

[qoute=gp-per-item-plugin version 1.5.0a readme]

replace all the occurences of that name in the appropriate files - which are:

  • /includes/extra_datafiles/group_price_per_item.php // not for 1.5.0 <---this still exists in 1.5.0, it has just been moved.

  • /admin/includes/extra_datafiles/group_price_per_item.php

[/quote]

The new location of first file is:

  • /includes/languages/english/extra_definitions/group_price_per_item.php
18 Oct 2012, 7:22 PM
#131
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Thanks for that insight g33k!

I the instructions are a little bit unclear that if you want to be able to define specific dollar values for specific products, you will **NEED **to define names for "Group A", "Group B", and so on...

This solved numerous hours of struggle.

18 Oct 2012, 9:47 PM
#132
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

I guess I spoke too soon. Everything from "Group A" appears to be working correctly, but "Group B" is not loading the new discount prices properly on the customer side. Thoughts?

24 Oct 2012, 1:42 AM
#133
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

bump

I still need assistance with this. I have dug through the code myself and asked around to no avail. Any help please? Is anyone else noticing this problem? Is it only with ver 1.5.0?

24 Nov 2012, 3:42 AM
#134
catach avatar

catach

Zen Follower

Join Date:
Oct 2005
Posts:
101
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

g33k:

Actually...

It is the instructions that are mistaken. There are still 2 group_price_per_item.php files to be edited in 1.5.0. You must have come across the 2nd and thought it was the 1st.

To clarify:

[qoute=gp-per-item-plugin version 1.5.0a readme]

replace all the occurences of that name in the appropriate files - which are:

  • /includes/extra_datafiles/group_price_per_item.php // not for 1.5.0 <---this still exists in 1.5.0, it has just been moved.

  • /admin/includes/extra_datafiles/group_price_per_item.php


The new location of first file is:

  • /includes/languages/english/extra_definitions/group_price_per_item.php[/QUOTE]

Thank you very much
I have been going nuts. I am glad you overlooked the "not for 1.5.0" and decided to change it. That is exactly what was wrong with mine and I am using 1.5
Thanks
John

30 Nov 2012, 2:56 PM
#135
hurlingguano avatar

hurlingguano

New Zenner

Join Date:
Nov 2012
Posts:
9
Plugin Contributions:
0

Re: Group Pricing Per Item Issue

Group Price per Item not carried forward on Admin Copy

I'm using Group Price per Item w/ ZC 1.5.0. I noticed that when I copied an item, the Group Price(s) do not carry forward to the new product. I've searched some through the Forum, but haven't (yet) seen any comment on this. This may be a design issue to keep from propagating a set of prices unintentionally, or a small glitch, but thought folks might want to be aware, if they weren't already.

Apologies if this is already well-documented, and I just haven't seen it yet.

29 Jan 2014, 5:21 PM
#136
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Group Pricing Per Item Issue

Yes this problem results from a missing chunk of code in admin -> copy_to_confirm.php. Let me know if you'd like this fixed.