#469

Product support

Get help in the plugin support forum.

Categories

  • E-Commerce
  • Marketing
  • Miscellaneous
  • Social

Features

  • Forms - create 3 types of forms (order, feedback and request) with custom field settings.
  • Mail Alert - get the contents of the forms by Email and notify the customer. For this created 6 templates for email (3 user and 3 admin) examples in the screenshots. The email allows the administrator to go to the order in one click.
  • Flexible setting - you can create multiple configurations and switch in one click
  • Dual language support - English and Russian

These plugin(s) are required for the plugin:

Installation

  1. Install the plugin
  2. Make sure that the layout contains {% styles %}, {% scripts%}, and {% extrase%} frames. Add a component named "Modal" to your template footer. The example below
  3. Configure the "Modal" component (turn off or turn on jquery, magnific-popup, css style). The example below
  4. Add a component named "Button" to where you want to call the form.
  5. In the settings of the Button component, select the form type (request, feedback and order)
  6. If you want to display the order form then you must pass to the id component of the product, an example below
    {% component 'Button' item_id = 1 %}

  7. Go to the plugin settings and configure the plugin
  8. Enjoy

Developers

If you want to use another plugin directory, you need to make the following changes to the files

  • Plugin.php - remove

    public $require = ['Lovata.Shopaholic'];
  • Models/Order.php - Change to your plugin

    use Lovata\Shopaholic\Models\Product;
    public $belongsTo = [
       'product' => [
            'Lovata\Shopaholic\Models\Product',
       ]
    ]; 
    public function onGetProductName() {
        return [0 => '<span class="noparent"> -- </span>'] + Product::lists('name', 'id');
    }
  • Classes/Send.php

use Lovata\Shopaholic\Models\Product;

158 line

 $product = Product::where('id', $product_id)->first();
2018.10.2

Fix bug validator

Oct 11, 2018

2018.10.1

First version plugin

Oct 10, 2018