Better Together 2.0 is getting closer. Some changes have been made since my original plans were announced a while back:
- add_cat_to_prod *will be* added as a supported linkage.
- category id handling *will not change* - it will remain as is (i.e. CAT means master category); I had considered a change here but decided against it.
- the cart will be sorted by price so that using the most expensive first item and the least expensive second item will be chosen (yielding the lowest discount). In practical terms, add_cat_to_cat(x, y, ...) or add_prod_to_cat(x, y, ...) will select the least expensive item matching category y, rather than the next category y item in product_id order as is currently done. This is the behavior most people expect since it's the most common retail implementation of BOGO ("Discount applies to lowest priced item.")
I intend to release these changes in September.
Thanks,
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
on 18th January 2008, post id #144 albertomrubio, asked about free shipping working with this mod, does anyone know if this can be done
cool module by the way.
There's nothing built in; you have to write code to do this sort of thing.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Better Together 2.0 is now available. The new features in this version are:
* The addition of add_cat_to_prod linkages.
* Automatic cart sort by price. This means that discounts which use add_cat_to_cat, add_prod_to_cat or add_cat_to_cat will automatically discount the least expensive item that matches the second id.
New version is in the downloads area.
Enjoy,
That Software Guy
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
I am having trouble getting my linkages to work with better together version 2.0.
I have successfully uploaded the files and installed the module in admin. I have tried every variation of linkages and no matter what I do no linkages work.
Below are my current linkages.
function setup() {
// Add all linkages here
// Some examples are provided:
/*
$this->add_prod_to_prod(14169, 13461, "$", 10);
*/
}
By the way, I am also using discount_1.10 (which works) and preview_1.3.8_2 (also works). I tried removing them temporarily, but that didn't have an effect on better together (still broken).
The linkages don't appear in step 2/3 of checkout or with the Better Together Promotional Page.
Any ideas why it isn't working?
Last edited by DJMagicCards; 12 Sep 2008 at 08:37 AM. Reason: improve title
You have your linkage commented out. Instead of
you should haveCode:/* $this->add_prod_to_prod(14169, 13461, "$", 10); */
Code:$this->add_prod_to_prod(14169, 13461, "$", 10);
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
That did the trick. Thanks!
Ok I just ran across this add-on and I have installed but I'm not sure where to go to add the discounts in? I am wanting to do the following:
Purchase at least $5 and get a certain product free
Purchase item A & get Item B free
What file do I need to edit to do this?
Helpppppppppp
Better Together doesn't do "Buy $5, get item X free." - it only does "Buy A get B free."
To figure out how to make it work, you should read the documentation. A link is provided in admin->modules->Order total->Better Together, or you could just read the readme file which is provided with the contribution.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks