Thanks to visit codestin.com
Credit goes to github.com

Skip to content

confidamichael/gardin

Repository files navigation

Emert Blind Calculator WordPress Plugin

🚀 Powered by emert.io - Professional E-commerce Solutions

A complete WordPress plugin with Turkish interface and Turkish Lira pricing for pleated blind calculations, featuring full WooCommerce integration and automatic cart redirect.

Key Features

🇹🇷 Complete Turkish Interface

  • Form Title: "Plise Perdenizi Yapılandırın" (Configure Your Pleated Blind)
  • Dimensions: "Genişlik (cm)" / "Yükseklik (cm)" with real-time area display
  • Color Selection: "Renk Seçimi" with 35 color options and actual product images
  • Rail Color: "Ray Rengi" - Alüminyum Ray, Beyaz Ray, Siyah Ray
  • Measurement Type: "Ölçüm Tipi" - Hazır Ölçü, Özel Ölçüm
  • Control: "Kontrol" - Sol Taraf, Sağ Taraf
  • Mounting: "Montaj" - Tavan Montajı, Duvar Montajı
  • Add to Cart: "Sepete Ekle"

💰 Turkish Lira (₺) Pricing

  • Base Price: 1,490.49 ₺
  • Maximum Price: 3,726.18 ₺
  • Real-time Calculation: Updates as you change dimensions and options
  • Surcharges in Turkish Lira:
    • Beyaz Ray: +112.5 ₺
    • Siyah Ray: +157.5 ₺
    • Özel Ölçüm: +225 ₺

🛒 Perfect WooCommerce Integration

  • Automatic Cart Redirect: After adding to cart, automatically redirects to WooCommerce cart
  • Calculated Price Override: Cart displays the calculated price, not the product's base price
  • Turkish Cart Display: All configuration details shown in Turkish in cart and checkout
  • Order Integration: Custom fields saved to orders with Turkish labels

🎨 Professional Design

  • Modern Interface: Clean, responsive design with gradient styling
  • Real-time Updates: Price and area calculations update as you type
  • Visual Color Selection: Grid of 35 actual product images
  • emert.io Branding: Professional footer with emert.io links

🚀 Installation

  1. Download the plugin file: emert-blind-calculator.php
  2. Create folder /wp-content/plugins/emert-blind-calculator/
  3. Upload the file to the folder
  4. Activate the plugin in WordPress admin
  5. Create WooCommerce product and note the product ID
  6. Use shortcode: [emert_blind_calculator product_id="123"]

📝 Usage

Shortcode

[emert_blind_calculator product_id="123"]

Replace 123 with your actual WooCommerce product ID.

Admin Interface

Navigate to WordPress AdminEmert Blinds to:

  • View plugin status and features
  • Access usage instructions
  • See emert.io branding information

🎯 How It Works

  1. User fills form in Turkish with dimensions and options
  2. Price calculates in real-time in Turkish Lira (₺)
  3. Click "Sepete Ekle" adds to WooCommerce cart with calculated price
  4. Automatically redirects to cart page
  5. Cart shows calculated price and all configuration details in Turkish
  6. Checkout saves all details to order in Turkish

💻 Technical Requirements

  • WordPress 5.0+
  • WooCommerce 3.0+
  • PHP 7.4+
  • jQuery (included with WordPress)

🛡️ Security Features

  • Nonce verification for AJAX requests
  • Input sanitization and validation
  • XSS protection with proper escaping
  • Capability checks for admin functions

🎨 Example Usage

Form Display

Plise Perdenizi Yapılandırın

Ölçüler
Genişlik (cm): 150
Yükseklik (cm): 200
Alan: 3.00 m²

Renk Seçimi: PENS201015
Ray Rengi: Beyaz Ray (+112.5 ₺)
Ölçüm Tipi: Özel Ölçüm (+225 ₺)

Fiyat: 2,103.49 ₺
Başlangıç fiyatı 1,490.49 ₺

Cart Display

Plise Perde
Ölçüler: 150 cm x 200 cm
Renk: PENS201015
Ray: Beyaz Ray
Ölçüm Tipi: Özel Ölçüm
Kontrol: Sol Taraf
Montaj: Tavan Montajı
Fiyat: 2,103.49 ₺

📄 License

GPL v2 or later

🔄 Version

v1.0.2 - Turkish interface with Turkish Lira and proper WooCommerce cart integration


🚀 Powered by emert.io - Professional E-commerce Solutions

Releases

No releases published

Packages

No packages published

Languages