Closed (fixed)
Project:
UC Upsell
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2009 at 01:01 UTC
Updated:
12 Sep 2009 at 05:40 UTC
Add an option in the settings form for controlling the way reciprocal associations are made:
None.
One to one (A->B)
One to many (A->B, A->C, B->A, C->A)
Comments
Comment #1
torgospizzaI have committed a new version to Dev, however it's not packaged up yet as I write this. Look for the next one (probably with today's or tomorrow's date) and try that out.
One caveat: Currently, "One to one" and "One to many" both do the same thing, a One-to-many relationship (in other words, when you save nodes B and C for Product A, Product A is added to Node B and Node C's associations as well.
The default is One to Many. For your purposes, you'll want to go into admin/store/settings/upsell, and select the dropdown option "Do not associate reciprocals".
Comment #2
torgospizzaDev version is now available. Please give it a glance. I'll be finishing up the different Reciprocal Actions in the near future.
Comment #3
torgospizzaAdded one-to-one and one-to-many associations in the code. I hope to clean up and refactor some of it, but as of now it works.