@extends('layouts/contentLayoutMaster') @section('title', 'Add Categories') @section('main-page', 'Categories') @section('sub-page', 'Add New Category') @section('main-page-url', route("products.index")) @section('sub-page-url', route("products.create")) @section('vendor-style') @endsection @section('content') @csrf {{-- checkbox added --}} Show “Add to Cart” Button When the checkbox is selected, the product can be added directly to the cart without customization. If it’s not selected, the product must be customized before being added to cart. Show “Customize Design” Button When the checkbox is selected, the product can be customized before being added to cart. Category Details Quantity & Price Category Specs Category Name (EN) * Category Name (AR) * Category Description (EN) * Category Description (AR) * Category Image (main) * Drop image here or click to upload Max size: 1MB | Dimensions: 512x512 px Category Model Image (main) * Drop image here or click to upload Max size: 1MB | Dimensions: 512x512 px {{-- --}} {{-- --}} {{-- Category Colors--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Color Value *--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Pick a color or type hex (e.g. #FFAA00).--}} {{-- --}} {{-- --}} {{-- Color Image *--}} {{-- --}} {{-- --}} {{-- Drop image or click--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Delete--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Add New Color--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} Category Images (optional) Drag images here or click to upload Max size: 1MB | Dimensions: 512x512 px Product * Select product @foreach($associatedData['categories'] as $category) {{ $category->name }} @endforeach Subproduct Select subproduct Tags * @foreach($associatedData['tags'] as $tag) {{ $tag->name }} @endforeach Category Size * @foreach($associatedData['dimensions'] as $dimension) {{ $dimension['name'] }} @endforeach Add Custom Size Next Quantity & Price Options Quantity Type * Add Quantity Manually Custom Prices Default Quantity Default Price Original Price Quantity Price (EGP) Delete Add New Quantity Previous Next Category Specs Add Cutting Specs Choose Cutting Specs @php use App\Enums\Product\CuttingEnum; @endphp @foreach(CuttingEnum::cases() as $cutting) {{$cutting->label('en') }} @endforeach Select one or more specs. They will be added automatically below. Name (EN) * Name (AR) * Value (EN) * Value (AR) * Price (EGP) (Optional) Padding Value (Optional) Option Image Drop image here or click to upload Max size: 1MB | Dimensions: 200x200 px {{-- Frame Image per Option --}} Option Frame Image Drop frame image here or click to upload Max size: 1MB | Dimensions: 200x200 px Delete Value Add New Value Delete Spec Add Custom Spec Variants {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- Category available for free shipping--}} {{-- --}} {{-- --}} {{-- --}} Previous Add Category @include("modals.products.add-size") @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection
When the checkbox is selected, the product can be added directly to the cart without customization. If it’s not selected, the product must be customized before being added to cart.
When the checkbox is selected, the product can be customized before being added to cart.
Drag images here or click to upload