uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Category Discount Applet Discount2 Question

Knowledge Base Lobby : uShop Support Conference : Future Features WishList
Oct-19-17 10:45 AM EST
Original Message
Category Discount Applet Discount2 Question
Author James on 10-27-2000 at 15:13 (EST)
Hi Bill,
The category discount applet works great for items which have one classification. Is there a way to add 2 classifications that the discount applet can recognize? Apparently one of my clients wants to be able to discount either "Product Category" and/ or "Manufacturer" in which I can populate field from db as Class_1 and Class_2. Comma and other delimeters don't seem to work. You can only use 1 class.

PARAM NAME="classification" VALUE="$row[Class_1]"

It would be very helpful if it could read:

PARAM NAME="classification" VALUE="$row[Class_1],$row[Class_2]"

It's great there are no limitations with number of classifications on the discount2 applet.

Any ideas would be appreciated,
James

TABLE OF CONTENTS

Table Of Contents
  Re: Category Discount Applet Discount2 Question James, 2000-10-27 18:39:35 (1)
            Re: Category Discount Applet Discount2 Question Bill Weiner, 2000-10-28 04:47:59 (2)
                 Re: Category Discount Applet Discount2 Question James, 2000-10-28 12:27:49 (3)

Messages In This Discussion
         1. Re: Category Discount Applet Discount2 Question
        Author James on 10-27-2000 at 18:39 (EST)
I guess as an alternative I can list all Manufacturers for a category if a complete category is discounted while using Manufacturer as the default classification.

Thanks,
James
TABLE OF CONTENTS
                 2. Re: Category Discount Applet Discount2 Question
                Author Bill Weiner on 10-28-2000 at 04:47 (EST)
You are correct, at this time each product can have only one classification. I did, however, check the code to see how the classification comparison is actually made....just in case the comparison was made via a pattern match....but no, an exact string compare is used. So you'll have to use some kind of alternate method as you described.
TABLE OF CONTENTS
                         3. Re: Category Discount Applet Discount2 Question
                        Author James on 10-28-2000 at 12:27 (EST)
Thanks Bill,
What I will do is output from db to classifications - Category_Manufacturer
value="$row[Class_1]_$row[Class_2]"

Then in discount applet, discount_table value set up as needed ie:

VALUE="Handbags_Maxx=10%,Handbags_Desmo=10%"

I just hope there is no limit for discount table values as there are many categories.

Thanks again,
James
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.