As it is now mandatory to set a node field "add to cart" (checkbox) to "true" for each node, you have to re-edit all nodes an set that checkbox to true.

if you already have "nodes of a type that should be added to cart" you have to manually edit all of them after you install basic_cart.

please provide an "action" (admin/content) or something else to set this checkbox to true for all of that chosen type.

CommentFileSizeAuthor
#5 Screenshot 2025-10-24 at 01.18.14.png122.64 KBnorman.lol

Issue fork basic_cart-3033269

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Frank Pfabigan created an issue. See original summary.

ivnish’s picture

Good idea!

norman.lol’s picture

Version: 8.x-6.x-dev » 8.x-8.x-dev
Priority: Major » Normal

norman.lol’s picture

Status: Active » Needs review
StatusFileSize
new122.64 KB

It will only do something for the nodes whose bundle was previously enabled for Basic Cart.

Screenshot of the newly added "Enable add to cart" and "Disable add to cart" admin actions

norman.lol’s picture

But yeah, in a future major version all nodes of an Basic Cart enabled node type should simply be included to the cart functionality by default and this checkbox on the product node form should be "Disable add to cart"..

norman.lol’s picture

Status: Needs review » Fixed

The release will now contain:

  1. New Drush command drush baca-en to enable add to cart for all nodes of all enrolled node types
  2. New action plugin to be used on the admin content view to bulk-enable add to cart for selected nodes

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • norman.lol committed af7d963f on 8.x-8.x
    #3033269 Add enable add to cart and disable add to cart admin content...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.