The module works with a product amount left in a stock. If the product amount left in a stock is less or equal to 0, then instead of a “Buy” button you’ll see a “Notify” button on your site.
Use the mouse wheel or scroll bar of your browser to follow the instructions.
Installation
Enter your opencart admin panel
Go to Extension/Extension Installer
Click "Upload"
You use opencart 3.*, so:
Select from your hard drive the provided AvailProVer9.5-Op3.ocmod.zip
Click on "Continue"
Go to Extension/Modifications
Click on "Refresh"
Go to Extension/Module
Click on "Install" opposite the name of the module
Click on "Edit" opposite the name of the module
Insert module key.If you dont have it, you need to fill in form to receive it
Activate the module, select "Enable" in option "Module Status:"
Go to Design/Layouts(here are the pages of your site, you need to connect the module to the page where the products are displayed)
Click on "Edit" opposite the name of the page
Click on "Add Module" and select "SM Avail Pro". Select the location of the module - "top of the page." The order does not matter.
Click on "Save"
Done!
Features
The module works with a product amount left in a stock. If the product amount left in a stock is less or equal to 0, then instead of a “Buy” button you’ll see a “Notify” button on your site.
The module can use several options (optionally turns on in a module setup):
Work with product quantity. If quantity of product is less then 1, then button buy will be replaced by module button.
Work with product status. Button buy will be replaced by module only if customer will choose option, quantity of which will be less than 1. If some products doesn't have options, then module with this product will be working with number of stock with this particular product.
Text work status. In options of module you can choose different statuses, if they are true button will be replaced by button from module or module will send notification about stock of product reception.
When the options add-on is turned on, the module doesn’t use an amount of product left in a stock but uses the amount of product left in a stock with chosen options. If the amount of (product with) chosen options less or equal to 0 then instead of a “Buy” button you’ll see a “Notify” button on your site.
The module sends notifications if the requested product is available in a stock:
By pressing the button “Save” in the product description (optionally);
By pressing the button “Notify” from the requests list page;
By cron (the link for setup is in the module)
TinyMCE integration: You can add Notification message
Add the information on dashboard about availability of notification
The module has a message editor: you can add message templates to be sent.
The module displays information about the applications for the panel in the administrative part of the site.
At the moment, for the correct operation of the module on each page where there are products, you need to add hidden divs with information about the quantity of product. Adding these divs is currently implemented using the OCMOD file.
At the moment, the module works on pages:
Home (provided that standard modules are displayed on this page, you may need to adapt the OCMOD file for non-standard modules)
Catalog
Product
Manufacturer
Compare
Wishes
Search
If the application is submitted by a registered user, he can view the application history, status and delete the application in his account on the site if he does not want to receive a notification.
Plugin Settings Page
General Module settings
Id or class of cart button on product page
ID or class of the “buy” button of product’s page - on the product page. The module will automatically change element with the specified ID or class into the button “Notify” if the product is not in the stock.
Id or class of additional button on product page
ID or class of the any other button on the product page. The module will automatically change element with the specified ID or class into the button “Notify” if the product is not in the stock.(not necessarily to fill)
Block with options
ID or class of the block with options on the product page.
Default theme:
If module not work in category page, select this option "No" and edit options for the category page
Notify after product change:
When the option is enabled, the module will check the availability of an active order for the product. If there is such a quantity of product more than 0, then a notification will be sent to the customer immediately after saving the changes. (By the button "Save" in the item card)
Consider options on the product
We choose on what basis the module will check the availability of products or its absence.
Determination by quantity of products
Determination by product status
Consider the number of options (When choosing this principle, two new windows will appear in which you will set the parameters)
Consider the quantity of the desired product
When purchasing a product, if you change the quantity of goods to a number larger than is available, the module will replace the buy button with the module button
Module Status:
Activate the module, select "Enable"
Cron link
The link for setting the crone (automatic notification of customers) is configured on the server side in the hosting panel.
Mail settings
Button name in the site
Tip when you hover on the notification button
The sender of the mails:
The sender of the all mails about notification
Shortcodes for messages:
You can use this code in creating letters for notification
"In stock" email subject:
Letters subject for "the expected product is available for order" email!
"Application receipt" email Subject:
Letters Subject notice of receipt of the application!
Letter subject for admin:
Letter subject for shop admin about new notify!
Message for admin about a new request:
Letter for shop admin about new notify!
Form Settings
Popup form settings:
Show img in mobile version or not
Show comments input field or not
Show terms and Conditions or not (You choose what you want to show for user)
Call-form button settings:
Button name in the site ( Here you can change name of it )
Tip when you hover on the notification button (Dont work on product page)
Send notify button
Here you can change:
Button background color
Button border color
Button title color
Button icon
Call form button
Here you can change:
Button background color
Button border color
Button title color
Button icon
Page class button
Button type
Notifies list page settings
Here you can choose :
Show product model or not
Show comments input field or not
CSS setings
Here you can change style of page via CSS
Arbitrary fields
Here you can add some extra fields to your form. To add them you need to fill in : Field name Short code (The code that is replaced by the infromation entered by the user in this field.Used when creating e-mail.) Type field (What information is allowed to enter to the user) Id fieldClass field(The class is often used to design field) Required to fill?(Should the user fill in the field) Turn on the validator Validation type(Verififcation of the correctness of infromation from the user)
Sorting(The order of output fields)
How to
The module allows your clients to receive notifications about product availability.
If the product amount left in a stock is less or equal to 0, then instead of a “Buy” button you’ll see a “Notify” button on your site.
(Image 1)
The module can use product’s options (optionally turns on in a module setup). If the add-on is turned on:
your site will show the product’s options even if the amount of options (may be optional products) is less or equal to 0
(Image2)
when the options add-on is turned on, the module doesn’t use an amount of product left in a stock (Image 1) but uses the amount of product left in a stock with chosen options(Image2). If the amount of (product with) chosen options less or equal to 0 then instead of a “Buy” button you’ll see a “Notify” button on your site.
the options add-on works only in the product page.
The module sends notifications if the requested product is available in a stock in following cases:
By pressing the button “Save” in the product description (optionally);
By pressing the button “Notify” from the requests list page;
By cron (the link for setup is in the module)
Frontend examples
If the amount of product in a stock is 0 or there is no product with requested options, then the button “Buy” will be replaced with a “Notify” button. The notification request form will pop-up after clicking “Notify” button.
An email with the product information will be sent to the customer’s mail and the shop administrator’s mail after request form is filled. Also the information about request is stored in the admin part of the site: extensions-modules-”Notify about availability”-”list of requests” (Image 3) or on top bar of your shop in Opencart menu (Image 4)
(Image 3)
(Image 4)
Popular questions and answers
After installation of module, on product that is not in stock button didnt replaced :
Check if the module is turned on. Option "Module status" in option of module
Module mast be added to your layout with all products.You can do it in your admin page "Design-Layout"
Check if everything is ok with option of module ID or Class of buttons "buy" for page of product or other pages.
To get information about quantity of product, module via ocmod inserts on all pages in the block with the product an additional div with information about the quantity.
Maybe you are using "not default" template and modifier could not make changes to the necessary files of your template. The modifier file is in the archive with the module - install.xml
After installing the module, the form call button appeared, but when clicked, the form itself does not appear:
The block under the form of the module inserts using ocmod. It is necessary to check, it is possible that the modifier could not insert the necessary form into the file footer.tpl
I use the filter module and after its application the button is not replaced, although the product is not available.
If the filter module loads products using ajax (this happens in 90% of cases), then you need to get the function getAvailConfig () after loading the goods; our module.
For example, in the popular MegaFilterPro module, you need to go to its settings, then the "Settings / Settings" tab - "JavaScript", and add the line to the bottom of the form:
We made a video guide to explain better the features and demos of our plugin.
Support
For further information or help don't hesitate to contact us through comment on our website http://muopencart.club or via email at support@myopencart.club