duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
147 stars 41 forks source link

Error while delete coupons & tax-rate, tax-zone and tax-category #802

Closed yaser2490 closed 1 year ago

yaser2490 commented 1 year ago

Description

Hello, I get an error when I delete a coupon or tax. But the item will be removed. I use sc-starter-kit

Screenshot 2023-02-04 090308

Screenshot 2023-02-04 090425

Steps to reproduce

.

Environment

Environment Application Name: Statamic Laravel Version: 9.50.2 PHP Version: 8.1.12 Composer Version: 2.5.1 Environment: local Debug Mode: ENABLED URL: 127.0.0.1:8000 Maintenance Mode: OFF

Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED

Drivers Broadcasting: log Cache: statamic Database: mysql Logs: stack / single Mail: smtp Queue: sync Session: file

Simple Commerce Currencies: GBP Gateways: Dummy Repository: Customer: DoubleThreeDigital\SimpleCommerce\Customers\EntryCustomerRepository Repository: Order: DoubleThreeDigital\SimpleCommerce\Orders\EntryOrderRepository Repository: Product: DoubleThreeDigital\SimpleCommerce\Products\EntryProductRepository Shipping Methods: Standard Post Tax Engine: DoubleThreeDigital\SimpleCommerce\Tax\BasicTaxEngine

Statamic Addons: 1 Antlers: runtime Stache Watcher: Enabled Static Caching: Disabled Version: 3.4.2 PRO

Statamic Addons doublethreedigital/simple-commerce: 4.5.2