It looks like that field must be of type "number" and be limited to one value like you see in the image above. The "number of values" fieldset should be on the content type's manage fields page, e.g. "admin/structure/types/manage/<content-type>/fields/<field-of-type-mailchimp-subscription>".
I would check the manage field page to make sure it is set to one for the number of values allowed.
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...
Posted5 days 12 hours ago by Alejandro Cremaschi (argiepiano) on:
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...
Posted6 days 22 hours ago by RS Snyder (theflightrs) on:
I could request hashing support, but that's the lazy way
🤣
I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-)
One of my biggest wishes is to understand the hook...
Posted6 days 23 hours ago by RS Snyder (theflightrs) on:
Comments
The specific error you are seeing comes from https://github.com/backdrop-contrib/mailchimp/blob/1b970f66c112e88d2ccfe....
It looks like that field must be of type "number" and be limited to one value like you see in the image above. The "number of values" fieldset should be on the content type's manage fields page, e.g. "admin/structure/types/manage/<content-type>/fields/<field-of-type-mailchimp-subscription>".
I would check the manage field page to make sure it is set to one for the number of values allowed.