Skip to content

Cannot add bundled products to cart if bundle has a special price #22095

@justinharris1986

Description

@justinharris1986

Preconditions

  1. Magento 2.2.8
  2. PHP 7.1.27 (In our case - may or may not be a factor - we are running in php-fpm)
  3. MariaDB 10.3.13-1.el7.centos (In our case - may or may not be a factor)
  4. Bundle product with a special price attached

Steps to reproduce

  1. Create 2 simple products
  2. Create a bundle with the simple products, and add a Special Price from the advanced pricing page
  3. Go to the front end, and add to cart

Expected result

  1. Adds to cart successfully

Actual result (*)

  1. PHP eats up to max_memory limit, and then dies, generating a 500 to the user
  2. Navigate to home page, and then directly to the cart - fails with the same as 1, above.
  3. note the minicart does not load.
  4. Remove the special price from the back end
  5. Cart now loads successfully

This issue did NOT manifest itself in 2.2.7.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions