This is related to issues like #1190 and #1475 and I think we kinda mentioned it a couple of times here and there. The point is that there is not a single-size-fits-all solution and we should provide site builders with the means to customize these options in order to fit their case.
#1475 is a meta-issue and it sorta focuses on the UI side of things. This issue here is about the underlying cogs that make things work though and it doesn't quite fit the UX spectrum (so not tagging as such)...
So, the idea is to:
- allow the default, out-of-the-box publishing options/flags to be renamed
- allow adding/removing publishing options
GitHub Issue #:
1742
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