Search by

4geo35 / variation-cart

4geo35

Cart for variations

Package info

github.com/4geo35/variation-cart

pkg:composer/4geo35/variation-cart

Statistics

Installs: 44

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-10-16 12:23 UTC

This package is auto-updated.

Last update: 2026-10-16 12:24:13 UTC


README

Установка

Добавить в tailwind.config.js, созданный в пакете tailwindcss-theme.

"./vendor/4geo35/variation-cart/src/resources/views/components/**/*.blade.php",
"./vendor/4geo35/variation-cart/src/resources/views/web/**/*.blade.php",
"./vendor/4geo35/variation-cart/src/resources/views/livewire/web/**/*.blade.php",

Views

Сокращение для представлений: vc

Livewire Components

  • vc-add-variation-to-cart
  • vc-cart-ico
  • vc-cart-list
  • vc-cart-list-item
  • vc-cart-info
  • vc-checkout

Config

Название файла: variation-cart

  • enableCart => true
  • showDiscount => true
  • expiredDays => 30
  • useBreadcrumbs => true
  • useH1 => true
  • cartPageTitle => Корзина
  • checkoutPageTitle => Оформление заказа
  • checkoutCartHasBeenChangedMessage => Корзина была изменена

Commands

php artisan clear:old-carts

Удалить устаревшие корзины

Routes

Файл web.php, middleware(["web"])

  • web.cart => cart
  • web.checkout => checkout