Pricing Rules

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Pricing Rules

Post by kastnerd » Mon Feb 09, 2009 8:26 am

Is there an easy way to edit allot of pricing rules? I want t o have 3 rules per product, I can do it manually but i was wondering if there is some way to use DataPort or connect directly to the database.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Pricing Rules

Post by mazhar » Mon Feb 09, 2009 8:53 am

If many products will share similar pricing rules then one way could be to first create the pricing rules for a product and then for each new product that will have similar pricing rules create a duplicate of the that product and change its info.

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Pricing Rules

Post by heinscott » Mon Feb 09, 2009 9:03 am

Not sure if this would work, but, if you are trying to update existing products, you might be able to first find the productId in question, load that product, and then just add the special pricing rule(s) to your other products. For instance, if you wanted to add the same pricing rule to ALL products, you could run (assuming your product id in question is 123):

Code: Select all

    Product p = ProductDataSource.Load(123);
    SpecialCollection sc = p.Specials;
    ProductCollection AllProducts = ProductDataSource.LoadForStore();
    foreach (Product _Product in AllProducts)
    {
        if (_Product.ProductId != p.ProductId)
        {
            foreach (Special s in sc)
                _Product.Specials.Add(s);
            _Product.Save();
        }
    }
Maybe mazhar could tell whether or not this would work before you try it live.
Hope this helps.

Scott

paularonw
Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Fri Sep 04, 2009 4:57 pm

Re: Pricing Rules

Post by paularonw » Fri Sep 04, 2009 5:00 pm

Has any progress been made on this topic? I've been using Data Port successfully to upload/modify products, categories and users, but I can't see a way to update pricing rules for products other than manually changing it on each of (over 200) products... :?

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Pricing Rules

Post by kastnerd » Wed Sep 09, 2009 5:49 am

I have not found a good way to edit pricing rules. Any suggestion would be nice.

Alan Rich
Ensign (ENS)
Ensign (ENS)
Posts: 17
Joined: Fri May 15, 2009 3:40 pm

Re: Pricing Rules

Post by Alan Rich » Thu Sep 10, 2009 1:24 pm

I am using MS Access (2007) with an ODBC link to the SQL database to update the ac_Specials table directly. I am still testing, but so far it appears to provide the "batch" update functionality that I will need.

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Pricing Rules

Post by kastnerd » Tue Oct 20, 2009 5:00 am

Alan Rich wrote:I am using MS Access (2007) with an ODBC link to the SQL database to update the ac_Specials table directly. I am still testing, but so far it appears to provide the "batch" update functionality that I will need.
How did this work for you? Any other idea's to batch update pricing rules?

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Pricing Rules

Post by kastnerd » Wed Oct 21, 2009 7:35 am

I Am able to open up and edit the "ac7_ac_Specials" Table using Access, This works good, But it only list the products that have speshals allready. Is there a good way to bulk add pricing rules to every product?

relish1227
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Mon Aug 30, 2010 9:51 am

Re: Pricing Rules

Post by relish1227 » Tue Oct 12, 2010 2:36 pm

Has anyone used this? http://www.web2market.com/Bulk-Specials ... 38C78.aspx

I just came across it today.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Pricing Rules

Post by jmestep » Wed Oct 13, 2010 6:38 am

Yes, I wrote the code and the merchants have been happy with it. For that price, you can hardly go wrong.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply