Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Adding More Groups in Per Item

    I downloaded the mod for the Group Pricing (Per Item), I have not had any problems so far, but I wanted to add a 5th group. I went into the files

    Admin>Includes>Extra Data>Group_Price_Per_Item.php
    Includes>Extra Data>Group_Price_Per_Item.php

    I added the line:
    define('GROUP_PRICE_PER_ITEM5', 'Group E');

    Stating that it is 5th group and the name is Group E
    Is there a file I am missing? Do i need to add this somewhere else?

    Any help would be greatly appreciated =)

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding More Groups in Per Item

    Far as I know, that mod only supports 4 groups. Adding another would involve a lot more than just defining the name of the group, I think.

  3. #3
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    yeah after I used the developers tool kit, i managed to find all the files needed to change the mod. I added about 10 more to my list.

    They only problem I am having with it, I cannot get the net / gross prices to stick, soon as I update the item, they are wiped out.

    I am currently in the collect_info.php file looking at the code, comparing between the ones i added, and the ones that were previously in there.

  4. #4
    Join Date
    Apr 2005
    Posts
    5
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    When you added the new groups, did you update your products table to include the new groups?

  5. #5
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    I updated three files.

    document_product.php
    product.php
    collect_info.php

    After reading your post I checked to make sure that i added them in to those files and I did, i seemed to have missed one file thought, and I found my other groups in there.

    update_product.php

    but everytime i have attempted to change it, i get an error when trying to edit the item.

    Thanks for the help!

  6. #6
    Join Date
    Apr 2005
    Posts
    5
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    Not sure why you would need to update those 4 files. What I'm talking about is when installing the mod is the sql file you ran. To fix the problem all you need to do I beleive is run:
    ALTER TABLE `products` ADD `products_group_e_price` DECIMAL( 15, 4 ) NOT NULL AFTER `products_group_d_price` ;

  7. #7
    Join Date
    Jun 2009
    Posts
    23
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    I changed my files back to default, to what they were before i changed them.

    I tried the SQL patch as you have shown there, it processed.

    When i went to my group pricing page, it showed the "Group E" there. But it was like all the default group pricing, it would not let me change per item.

  8. #8
    Join Date
    May 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Adding More Groups in Per Item

    Hi did you figure this out? I'm trying to do the same thing.

 

 

Similar Threads

  1. v150 Adding Notes to Per Ordered Item
    By dencom in forum General Questions
    Replies: 1
    Last Post: 16 Aug 2012, 06:23 AM
  2. Shipping per unit/weight not calculating for more than one item
    By brightideas in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 8 Mar 2010, 07:54 PM
  3. more than one attributes per item
    By Makoshark in forum General Questions
    Replies: 1
    Last Post: 6 Mar 2010, 09:02 PM
  4. Adding more products per page!
    By realholisticliving in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Nov 2009, 11:28 PM
  5. Individual Shipping Per Item, and reduced cost per extra item
    By canad1an in forum Addon Shipping Modules
    Replies: 7
    Last Post: 6 Feb 2009, 11:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg