I would like a view that can show all my taxonomy terms that are either the top level, or the 2nd level, but not below that.
In spite of there being a very complicated filter for "Content has taxonomy term with depth X" there is not a more simple one "This term has depth X".
I spent a while today trying to create the simple one based on the more complex one, but I'm not sure I can do it. Posting what I have here as a start for feedback, and so I can return to it later with fresh eyes.
Related drupal issues: * https://www.drupal.org/node/903438 * https://www.drupal.org/node/1073170 * https://www.drupal.org/node/1216006
Recent comments
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE