Add coupons, newsletter, country-based shipping, sale prices, USP bar
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 8s
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 8s
- Gutscheincodes: DB-Verwaltung (%, €-Rabatt, Mindestbestellwert, Ablauf), Eingabefeld im Checkout, Admin unter Marketing → Gutscheine - Newsletter: Double-Opt-In per E-Mail, Formular im Footer, Admin-Liste mit CSV-Export - Länderzonen-Versand: DE / DACH / EU / WORLD, Versandkosten nach Lieferland dynamisch berechnet, Coupon-Rabatt in Bestellung gespeichert - Sale-Preise: sale_price auf Produkten, durchgestrichener UVP auf Produktkarte, Sonderangebote-Sektion auf Startseite - USP-Leiste auf Startseite: Versand, Zahlung, Rückgabe, Service Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,12 +10,14 @@ class Order extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'order_number','user_id','guest_email','status','payment_method',
|
||||
'coupon_code','discount_amount',
|
||||
'subtotal','tax_total','shipping_cost','total','tracking_code','notes','paid_at',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'paid_at' => 'datetime',
|
||||
'subtotal' => 'decimal:2',
|
||||
'discount_amount' => 'decimal:2',
|
||||
'tax_total' => 'decimal:2',
|
||||
'shipping_cost' => 'decimal:2',
|
||||
'total' => 'decimal:2',
|
||||
|
||||
Reference in New Issue
Block a user