- Issue created by @afagioli
- 🇮🇱Israel jsacksick
Oh... that affects 2.x as well... We should check that the cart module exists... Or even alter the form from commerce_cart.
- 🇮🇹Italy afagioli Rome
Oh, well...
Not being asked. I didn't suggest a solution.
It would be adding a the cart dependency into commerce_promotion.info.ymlTested, it works.
name: Commerce Promotion type: module description: 'Provides a UI for managing promotions.' package: Commerce core_version_requirement: ^9.3 || ^10 configure: entity.commerce_promotion.collection dependencies: - commerce:commerce - commerce:commerce_order - commerce:commerce_cart - drupal:options
- Status changed to Needs review
about 1 year ago 12:00pm 3 January 2024 - last update
about 1 year ago 790 pass -
jsacksick →
committed 987b6123 on 8.x-2.x
Issue #3412057 by jsacksick, afagioli: Check if the cart module is...
-
jsacksick →
committed 987b6123 on 8.x-2.x
-
jsacksick →
committed 56ee3eba on 3.0.x
Issue #3412057 by jsacksick, afagioli: Check if the cart module is...
-
jsacksick →
committed 56ee3eba on 3.0.x
- Status changed to Fixed
about 1 year ago 12:58pm 3 January 2024 - 🇮🇱Israel jsacksick
Went ahead and committed the fix, thank you for this report :).
Automatically closed - issue fixed for 2 weeks with no activity.
I had similar issue post installation on existing site.
While the patch is not able to solve the problem!- 🇮🇱Israel jsacksick
@rishabjasrotia: Did you try updating to the latest version? 2.38?
@jsacksick
Yes I am using the latest version.
"drupal/commerce": "^2.38"Also there is no `cart` column in database table also.
I have verified itSee below:
MySQL [drupal]> DESC commerce_order; +-------------------------------------+---------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------------------------------+---------------+------+-----+---------+----------------+ | order_id | int unsigned | NO | PRI | NULL | auto_increment | | type | varchar(32) | NO | MUL | NULL | | | uuid | varchar(128) | NO | UNI | NULL | | | order_number | varchar(255) | YES | MUL | NULL | | | version | int unsigned | YES | | NULL | | | store_id | int unsigned | YES | MUL | NULL | | | uid | int unsigned | YES | MUL | NULL | | | mail | varchar(254) | YES | | NULL | | | ip_address | varchar(128) | YES | | NULL | | | billing_profile__target_id | int unsigned | YES | MUL | NULL | | | billing_profile__target_revision_id | int unsigned | YES | MUL | NULL | | | total_price__number | decimal(19,6) | YES | | NULL | | | total_price__currency_code | varchar(3) | YES | | NULL | | | total_paid__number | decimal(19,6) | YES | | NULL | | | total_paid__currency_code | varchar(3) | YES | | NULL | | | state | varchar(255) | YES | MUL | NULL | | | data | longblob | YES | | NULL | | | locked | tinyint | YES | | NULL | | | created | int | YES | | NULL | | | changed | int | YES | | NULL | | | placed | int | YES | | NULL | | | completed | int | YES | | NULL | | +-------------------------------------+---------------+------+-----+---------+----------------+ 22 rows in set (0.006 sec)