Hi,

I am pleased to have found this module!

Is it possible to restrict the taxonomy based linking to a specific vocab? For example, I have a "compatibility" vocab I enter on all products (e.g. Canon Pixma), so if three items are all compatible with Canon Pixma, then I want them to show. I don't want to show any items that are linked in other ways

Also, if using the override function (e.g. just taxonomy) is it possible to remove it from the product page?

Thanks,
Paul.

Comments

techypaul’s picture

Or change the order of vocabs so it only drops to the others if there are not enough links?

torgospizza’s picture

Hmm that's an interesting thing to look into. Right now, no, this is not something the module currently does. But if you wanted to specify a taxonomy term to use, I figure that'd be relatively easy to add :)

Not sure about your second question.. "remove it from the product page." Can you elaborate?

techypaul’s picture

Hi Eric,

Cool, I think it would be a nice way to do it (especially for people like me who are linking products via a specific taxonomy anyway).

Sorry, I didnt make any sense about that - I meant if you are using the override option (e.g. doing taxonomy route and not manually doing it), is there a way to remove the select box from the add content type page? Its just another field to scroll past if you don't manually make links. (is that clear? lol).

Thanks,
Paul.

torgospizza’s picture

Ah, I see what you're saying. So to filter the nodes that don't belong to the taxonomies you're specifying out of the node edit form. That's actually a good point, and I think the two features go hand in hand.

if you specify a taxonomy term along with how you're handling those products, then you should also see that affect how the Select list in the node form works.

torgospizza’s picture

Here are two patches that add this functionality. The patch for the Admin .inc file changes the settings form a little bit. You can either choose terms to restrict the related products to, or you can choose to not restrict it at all. The core patch actually modifies the intersecting terms method to respect that configuration.

Give it a shot and let me know if it works for you! I like this feature a lot and may include this in the next dev :)

techypaul’s picture

Hi,

Sorry, just got the chance to come on - I have never applied a patch before, i'll go get some instructions and give it a go. Its a great little feature.

Thanks,
Paul.

torgospizza’s picture

The 1.18 version of the module should include this functionality as well (and it ignores it if you haven't configured it for that yet, if you are updating from an old version). Give it a shot!

techypaul’s picture

Version: 6.x-1.9 » 6.x-1.19

Hey,

I finally got to install this and test it out. Its looking good but, it isnt quite what I was expecting. You are restricting by actual terms inside the vocab, what I was suggesting for the overall vocab, in my use case for example, I have 4 taxonomies;

Catalog
Compatability
Genre
Company

For similar items usage, Company and Catalog isnt much good because you could have items that are made by the same company but completely different, or you could have lots of printer cartridges in one catalog term (because you don't want a lots-of-layers deep catalog), but of course why would you be interested in cartrdiges that are not compatible. By using Genre, I link all "Laptop Sleeves" together using the laptop sleeves term, so looking at one laptop sleeve should show other laptop sleeves. Compatibility I use for things like cartridges so when I add a cartridge I enter all the printers its compatible with (as terms). When looking at one cartridge, it will likely (using this new scheme) show other cartridges with the same compatibility - not just show a random selection of other cartridges that are of no interest.

Does that make sense? Sorry if I didnt make my initial issue clear. That said, I still like the way you have done it as its a useful addition - I just don't think its suitable for my use (100s of terms). I could select each term from within those two vocabs, but I think that may be user intensive as they keep growing.

Thanks,
Paul.

torgospizza’s picture

Well I think it'd be easy enough to include Vocab as well, the Terms could be parents of their respective Vocabularies. (Maybe an option to turn off this feature?) I'll look into getting it into a subsequent release.

I'm also considering a 6.x-2.0 release for the module (starting with a dev) - maybe the "Filter by Vocab and Term" feature should wait for that? What do you think?

torgospizza’s picture

Version: 6.x-1.19 » 6.x-2.0

Marking this as part of my TODO list for 2.x

j0rd’s picture

Here's what I'm looking for. It's very similar to this feature request.

I would like to be able to add multiple UC_UPSELL blocks based of each Vocab I'd like to use.

I have a clothing store. My 3 Vocabs are:

* Clothing Category Heiarchy: Mens -> Jackets, Womens -> Pants, Accessories -> Rings ...
* Brand: My Brand, Your Brand, His Brand
* "Season" aka. Clothing release date for your nerds: Spring 2009, Summer 2010 ...

I'd like the ability to add two uc_upsell blocks. One for "Similar Clothes by Category" and one for "Similar Items by Brand". I read a little bit about "accessories uc_upsell block" in 2.x...but I think this is a little different.

This is similar to the Multiple Blocks feature request.

torgospizza’s picture

Yeah, multiple blocks is part of the accessories system I'm working on for 2.x. If you are in "Accessory Mode" the blocks will behave as accessory options; otherwise they will simply act as additional blocks for multiple product categories / taxonomies / classes, etc.

I'm still working on the details and I haven't had any time lately to work on it, but I'm really excited to get it done :)

MakeOnlineShop’s picture

Issue summary: View changes

Hello,

I am sorry, maybe my question is related to this, so I link it here:

https://www.drupal.org/node/2489824

Thank you again.