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

Orders relationship appears on every blueprint #785

Closed lloydowen closed 1 year ago

lloydowen commented 1 year ago

Description

For every blueprint i create, the order relationship/entries appears to be on it. I delete it & save and it simply reappears. Not all collections are relatable to the ecommerce features.

Steps to reproduce

  1. Create a blueprint for any collection
  2. See that "Orders" appears

Environment

Environment
Application Name: ****
Laravel Version: 9.46.0
PHP Version: 8.2.1
Composer Version: 2.5.1
Environment: local
Debug Mode: ENABLED
URL: fmg-cms.test
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: mailgun
Queue: sync
Session: file

Simple Commerce
Gateways: Dummy
Repository: Customer: DoubleThreeDigital\SimpleCommerce\Customers\EntryCustomerRepository
Repository: Order: DoubleThreeDigital\SimpleCommerce\Orders\EntryOrderRepository
Repository: Product: DoubleThreeDigital\SimpleCommerce\Products\EntryProductRepository
Shipping Methods: Standard Post, Flat Rate UK
Tax Engine: DoubleThreeDigital\SimpleCommerce\Tax\Standard\TaxEngine

Statamic
Addons: 2
Antlers: regex
Stache Watcher: Disabled
Static Caching: Disabled
Version: 3.3.64 PRO

Statamic Addons
doublethreedigital/simple-commerce: 4.4.0
statamic/seo-pro: 3.1.3
duncanmcclean commented 1 year ago

Thanks for reporting this - I think I know why it's happening. I'll try to get a fix out soon.

github-actions[bot] commented 1 year ago

Released as part of v4.4.1.