Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm looking for something like this:
// the following does not work:
echo commerce_cart_new_add_to_cart_form($line_item, $num, $options, $button_title);
I want to generate an "Add to cart" form which provides a button allowing the user to add some line items to a cart.
Cheers,
Albert.
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedWe don't offer developer support in this issue queue. Please repost your question to the linked Q&A site (http://www.drupalcommerce.org/questions) or try the Drupal Stack Exchange, which is frequented by a wide variety of Drupal developers who can assist you.