Quote Originally Posted by lankeeyankee View Post
Thanks for all of your awesome mods swguy!!!

I am trying to add a $ discount on products, giving a discount of 30 cents. I have it as:

$this->add_cat_to_cat(6_7, 6_59, "$", .30);

but it gives an error, it seems to not like the .30. How do I go about adding it correctly?

Thanks again !!

Matt
Ah, never mind. it works with 30 cents, I found that the error is having cats like 6_7 instead of just 7. But, it doesn't seem to want to work with sub cats. For instance, if I have category 6_7_8 and 6_7_9 and want to do an add_cat_to_cat for both with cat 6_59, it won't work with using (7, 59, "%", 10) and I have to put in both sub cats, is that correct or am I missing something?

Thanks again!!