Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
lankeeyankee
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!!
Re: Better Together Contribution Support Thread
Better Together uses parent categories only.
Re: Better Together Contribution Support Thread
Quote:
Originally Posted by
swguy
Better Together uses parent categories only.
Thanks for the reply!
Is it possible to alter the code so that subcats are included? The problem for me is that it can get very crowded with the display on the product info page if I have to link individual subcats to other cats or products. So, if the higher cat has 8 subcats, instead of 1 link on the product info page there will be 8. If it's possible, what would it take to do it?
Thanks!
Matt
Re: Better Together Contribution Support Thread
Hi There.
I have the latest release of ZenCart and the latest release of Better Together - I'm just retarded.
I have a client that wants the following:
Buy one item - get the second SAME item at 10% off.
Now - I've read where to do this - but they have 545 items so far... do I really have to go through all of this 545 times?
$this->add_prod_to_prod(1,1,"%", 10);
Thanks for you help!
Re: Better Together Contribution Support Thread
Yes, you do. But the good news is - computers are very good at automating tasks like this. :)
function setup() {
for ($i = 1; $i <= 545; $i++) {
$this->add_prod_to_prod($i,$i,"%", 10);
}
}
Re: Better Together Contribution Support Thread
you're the man. that worked brilliantly. geesh.. i need to go back to school for programming... i just make it look pretty.. Thanks a million!
Re: Better Together Contribution Support Thread
New Problem?
Using "Better Together" and a checkout Discount Coupon causes an error in the Order Total. Seems to be consistent at $.25 based on a limited test of various products.
Here is the setup.
$this->add_prod_to_prod(260,513,"%", 100);
1 x "Paper Shaper" Paper Punch: $2.99
1 x Snips and Snails Deluxe Scrapbook $19.99
Sub-Total: $22.98
Buy-Together Discount: -$2.99
Table Rate (3.31lbs) (Best Way): $9.95
Discount Coupon: rf10 : -$1.97
Total: $27.72
(should be $27.97)
The net prices of the two items are based on SaleMaker discounts from a retail prices of $3.99 and $24.99 respectively if that matters.
Zcart 1.3.8, "Quick and Easy Checkout" also installed.
Re: Better Together Contribution Support Thread
Correction to original post in red...
New Problem?
Using "Better Together" and a checkout Discount Coupon causes an error in the Order Total. Seems to be consistent at $.25 based on a limited test of various products.
Here is the setup.
$this->add_prod_to_prod(260,513,"%", 100);
1 x "Paper Shaper" Paper Punch: $2.99
1 x Snips and Snails Deluxe Scrapbook $19.99
Sub-Total: $22.98
Buy-Together Discount: -$2.99
Table Rate (3.31lbs) (Best Way): $9.95
Discount Coupon: rf10 : -$1.97
Total: $27.72
(should be $27.97)
The net price of the $2.99 item is a Special price, and the price of the $19.99 item is based on a 20% off Salemaker discount if that matters.
Zcart 1.3.8, "Quick and Easy Checkout" also installed.
Re: Better Together Contribution Support Thread
- Test them both separately to be sure they work independently.
- check the settings in admin/modules/order total for both to be sure they agree.
- check them without quick & easy checkout.
Re: Better Together Contribution Support Thread
Okay... picky client.
Now instead of Buy 1 item Get the second of the same item 10% off.. they want it.. buy 1 item get ANY additional of the same item 10% off... so if they were to purchase 5 of the same item, they would get 4 of them at 10% off... sorry, it sounds so confusing to me.. so here:
Original Item: $10
SAME ITEM #2: $9
SAME ITEM #3: $9
SAME ITEM #4: $9
SAME ITEM #5: $9
TOTAL DISCOUNT: $4
TOTAL OWED: $46
Is this doable through Better Together?
Thanks!