I find it inconsistent the way some form ids are named. For example, we have post_node_form for Post content type nodes and comment_node_post_form for its comments. Should've they been named either:
post_node_form
comment_post_node_form
or
node_post_form
comment_node_post_form
Haven't checked how Drupal forms' ids named, but most probably we inherited this mess from Drupal. It's really minor nuance that could be ignored, but then maybe consensus says we should correct it?
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