craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
225 stars 170 forks source link

[5.x]: Catalog Pricing Rule Description Not Displaying in CP or Front-End #3699

Closed romainpoirier closed 2 weeks ago

romainpoirier commented 2 weeks ago

What happened?

Description

In Craft CMS version 5.4.6 and Craft Commerce version 5.1.2, I am encountering an issue with the Catalog Pricing Rule. The content of the Description field does not display in the Control Panel (CP) nor on the front-end. However, when I check the pricing rule in the commerce_catalogpricingrules table, the description column is correctly populated.

Capture d’écran 2024-09-30 à 16 02 57 Capture d’écran 2024-09-30 à 16 03 12

Steps to reproduce

  1. Create a Catalog Pricing Rule in Craft Commerce.
  2. Fill in the Description field.
  3. Save the rule.
  4. View the rule in the CP and the front-end.

Expected behavior

The content of the Description field should be displayed in both the CP and the front-end.

Actual behavior

The content of the Description field is not visible in either the CP or the front-end, despite being correctly stored in the database.

Craft CMS version

5.4.6

Craft Commerce version

5.1.2

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

linear[bot] commented 2 weeks ago

PT-2183 [5.x]: Catalog Pricing Rule Description Not Displaying in CP or Front-End

nfourtythree commented 2 weeks ago

Hi @romainpoirier

Thank you for your feedback and for bringing this to our attention.

We have pushed a fix for this issue which will be included in the next release of Commerce.

To get this early, change your craftcms/commerce requirement in your project's composer.json to:

"require": {
  "craftcms/commerce": "5.x-dev as 5.1.2",
  "...": "..."
}

Then run composer update.

Thanks!

romainpoirier commented 2 weeks ago

Thank you! As the site needs to go live very soon and I prefer not to use a dev version in production, when is the next release planned (approximately)?

nfourtythree commented 2 weeks ago

Commerce version 5.1.3 has now been released with this fix included.

Thanks!