Test
Meloncart\Shop\Models\Product {#1532
  #connection: "sqlite"
  #table: "shop_products"
  #primaryKey: "id"
  #keyType: "int"
  +incrementing: true
  #with: []
  #withCount: []
  +preventsLazyLoading: false
  #perPage: 15
  +exists: true
  +wasRecentlyCreated: false
  #escapeWhenCastingToString: false
  #attributes: ?
  #original: array:47 [
    "id" => 1
    "name" => "Test"
    "slug" => "test"
    "baseid" => "WGnyZq6Hik4"
    "sku" => "SKU-000001"
    "barcode" => null
    "is_enabled" => 1
    "is_archived" => 0
    "title" => ""
    "description" => ""
    "short_description" => ""
    "price" => 1000
    "cost" => null
    "is_on_sale" => 1
    "sale_price" => 800
    "weight" => null
    "width" => null
    "height" => null
    "depth" => null
    "track_inventory" => 1
    "hide_if_out_of_stock" => 0
    "allow_negative_stock" => 0
    "stock_alert_threshold" => null
    "units_in_stock" => 1
    "units_reserved" => 0
    "allow_pre_order" => 0
    "allow_price_tiers" => 0
    "allow_custom_shipping_prices" => 0
    "price_tiers_compiled" => "[]"
    "price_rules_compiled" => null
    "custom_shipping_prices" => null
    "is_visible_search" => 1
    "is_visible_catalog" => 1
    "is_visible_user_group" => 0
    "is_visible_site" => 0
    "use_variants" => 1
    "reviews_rating" => 0
    "reviews_count" => 0
    "manufacturer_id" => 1
    "product_type_id" => 1
    "tax_class_id" => 1
    "custom_page" => ""
    "site_group_id" => 4
    "available_at" => null
    "deleted_at" => null
    "created_at" => "2026-04-15 20:55:27"
    "updated_at" => "2026-04-18 23:00:59"
  ]
  #changes: []
  #previous: []
  #casts: []
  #classCastCache: []
  #attributeCastCache: []
  #dateFormat: null
  #appends: []
  #dispatchesEvents: []
  #observables: []
  #relations: []
  #touches: []
  #relationAutoloadCallback: null
  #relationAutoloadContext: null
  +timestamps: true
  +usesUniqueIds: false
  #hidden: []
  #visible: []
  #fillable: []
  #guarded: array:1 [
    0 => "*"
  ]
  +implement: null
  +attributes: array:47 [
    "id" => 1
    "name" => "Test"
    "slug" => "test"
    "baseid" => "WGnyZq6Hik4"
    "sku" => "SKU-000001"
    "barcode" => null
    "is_enabled" => 1
    "is_archived" => 0
    "title" => ""
    "description" => ""
    "short_description" => ""
    "price" => 1000
    "cost" => null
    "is_on_sale" => 1
    "sale_price" => 800
    "weight" => null
    "width" => null
    "height" => null
    "depth" => null
    "track_inventory" => 1
    "hide_if_out_of_stock" => 0
    "allow_negative_stock" => 0
    "stock_alert_threshold" => null
    "units_in_stock" => 1
    "units_reserved" => 0
    "allow_pre_order" => 0
    "allow_price_tiers" => 0
    "allow_custom_shipping_prices" => 0
    "price_tiers_compiled" => "[]"
    "price_rules_compiled" => null
    "custom_shipping_prices" => null
    "is_visible_search" => 1
    "is_visible_catalog" => 1
    "is_visible_user_group" => 0
    "is_visible_site" => 0
    "use_variants" => 1
    "reviews_rating" => 0
    "reviews_count" => 0
    "manufacturer_id" => 1
    "product_type_id" => 1
    "tax_class_id" => 1
    "custom_page" => ""
    "site_group_id" => 4
    "available_at" => null
    "deleted_at" => null
    "created_at" => "2026-04-15 20:55:27"
    "updated_at" => "2026-04-18 23:00:59"
  ]
  #dates: array:1 [
    0 => "available_at"
  ]
  #savingOptions: []
  +trimStrings: true
  #jsonable: array:3 [
    0 => "price_tiers_compiled"
    1 => "price_rules_compiled"
    2 => "custom_shipping_prices"
  ]
  +hasOne: []
  +hasMany: array:7 [
    "price_tiers" => array:2 [
      0 => "Meloncart\Shop\Models\PriceTier"
      "delete" => true
    ]
    "properties" => array:2 [
      0 => "Meloncart\Shop\Models\ProductProperty"
      "delete" => true
    ]
    "options" => array:2 [
      0 => "Meloncart\Shop\Models\ProductOption"
      "delete" => true
    ]
    "extras" => array:2 [
      0 => "Meloncart\Shop\Models\ProductExtra"
      "delete" => true
    ]
    "bundle_items" => array:2 [
      0 => "Meloncart\Shop\Models\ProductBundleItem"
      "delete" => true
    ]
    "variants" => array:3 [
      0 => "Meloncart\Shop\Models\ProductVariant"
      "key" => "product_id"
      "delete" => true
    ]
    "reviews" => array:3 [
      0 => "Meloncart\Shop\Models\ProductReview"
      "delete" => true
      "replicate" => false
    ]
  ]
  +belongsTo: array:3 [
    "manufacturer" => "Meloncart\Shop\Models\Manufacturer"
    "product_type" => "Meloncart\Shop\Models\ProductType"
    "tax_class" => "Meloncart\Shop\Models\TaxClass"
  ]
  +belongsToMany: array:6 [
    "categories" => array:2 [
      0 => "Meloncart\Shop\Models\Category"
      "table" => "shop_products_categories"
    ]
    "related_products" => array:4 [
      0 => "Meloncart\Shop\Models\Product"
      "table" => "shop_related_products"
      "key" => "product_id"
      "otherKey" => "related_id"
    ]
    "user_groups" => array:4 [
      0 => "RainLab\User\Models\UserGroup"
      "table" => "shop_products_user_groups"
      "key" => "product_id"
      "otherKey" => "user_group_id"
    ]
    "custom_groups" => array:4 [
      0 => "Meloncart\Shop\Models\CustomGroup"
      "table" => "shop_products_custom_groups"
      "key" => "product_id"
      "otherKey" => "custom_group_id"
    ]
    "extra_sets" => array:4 [
      0 => "Meloncart\Shop\Models\ProductExtraSet"
      "table" => "shop_products_extra_sets"
      "key" => "product_id"
      "otherKey" => "extra_set_id"
    ]
    "site_definitions" => array:4 [
      0 => "System\Models\SiteDefinition"
      "table" => "shop_products_site_definitions"
      "key" => "product_id"
      "otherKey" => "site_definition_id"
    ]
  ]
  +morphTo: []
  +morphOne: []
  +morphMany: array:2 [
    "translations" => array:3 [
      0 => "System\Models\TranslateAttribute"
      "name" => "model"
      "delete" => true
    ]
    "currency_overrides" => array:3 [
      0 => "Responsiv\Currency\Models\CurrencyAttribute"
      "name" => "model"
      "delete" => true
    ]
  ]
  +morphToMany: []
  +morphedByMany: []
  +attachOne: []
  +attachMany: array:2 [
    "images" => "System\Models\File"
    "files" => "System\Models\File"
  ]
  +hasManyThrough: []
  +hasOneThrough: []
  #emitterSingleEventCollection: []
  #emitterEventCollection: array:3 [
    "model.saveInternal" => array:2 [
      0 => array:3 [
        0 => Closure() {#1531
          class: "Meloncart\Shop\Models\Product"
          this: Meloncart\Shop\Models\Product {#1532}
          file: "/var/www/vhosts/dev02.publipresse.ovh/github.dev02.publipresse.ovh/httpdocs/vendor/october/rain/src/Database/Traits/BaseIdentifier.php"
          line: "22 to 24"
        }
        1 => Closure() {#1528
          class: "Meloncart\Shop\Models\Product"
          this: Meloncart\Shop\Models\Product {#1532}
          file: "/var/www/vhosts/dev02.publipresse.ovh/github.dev02.publipresse.ovh/httpdocs/vendor/october/rain/src/Database/Traits/Translatable.php"
          line: "73 to 75"
        }
        2 => Closure() {#1527
          class: "Meloncart\Shop\Models\Product"
          this: Meloncart\Shop\Models\Product {#1532}
          file: "/var/www/vhosts/dev02.publipresse.ovh/github.dev02.publipresse.ovh/httpdocs/plugins/responsiv/currency/traits/Currencyable.php"
          line: "64 to 66"
        }
      ]
      500 => array:1 [
        0 => Closure() {#1530
          class: "Meloncart\Shop\Models\Product"
          this: Meloncart\Shop\Models\Product {#1532}
          file: "/var/www/vhosts/dev02.publipresse.ovh/github.dev02.publipresse.ovh/httpdocs/vendor/october/rain/src/Database/Traits/Validation.php"
          line: "72 to 94"
        }
      ]
    ]
    "model.beforeSave" => array:1 [
      0 => array:1 [
        0 => array:2 [
          0 => Meloncart\Shop\Models\Product {#1532}
          1 => "multisiteGroupBeforeSave"
        ]
      ]
    ]
    "model.afterFetch" => array:1 [
      0 => array:1 [
        0 => Closure() {#1529
          class: "Meloncart\Shop\Models\Product"
          this: Meloncart\Shop\Models\Product {#1532}
          file: "/var/www/vhosts/dev02.publipresse.ovh/github.dev02.publipresse.ovh/httpdocs/vendor/october/rain/src/Database/Traits/Translatable.php"
          line: "68 to 70"
        }
      ]
    ]
  ]
  #emitterEventSorted: array:1 [
    "model.afterFetch" => array:1 [
      0 => Closure() {#1529}
    ]
  ]
  #extensionData: array:4 [
    "extensions" => []
    "methods" => []
    "dynamicMethods" => []
    "dynamicProperties" => []
  ]
  +sessionKey: null
  +translatable: array:6 [
    0 => "name"
    1 => "slug"
    2 => "title"
    3 => "description"
    4 => "short_description"
    5 => "custom_page"
  ]
  +currencyable: array:3 [
    0 => "price"
    1 => "cost"
    2 => "sale_price"
  ]
  +rules: array:4 [
    "name" => "required"
    "price" => "required"
    "tax_class" => "required"
    "categories" => "required"
  ]
  #userQuantityCache: []
  +validationForced: false
  #validationErrors: null
  #validationDefaultAttrNames: []
  #translatableContext: "fr"
  #translatableDefault: "fr"
  #translatableAttributes: []
  #translatableOriginals: []
  #translatableBaseValues: []
  #currencyableContext: null
  #currencyableDefault: null
  #currencyableAttributes: []
  #currencyableOriginals: []
}