# Plugin requirements

To use MyShopKit Product Badges, it’s recommended to run [**WordPress**](https://wordpress.org/) **4.9** or higher, **PHP7.4** *(WordPress officially suggests to use PHP 7.4,* [*read more*](https://wordpress.org/about/requirements/)*)*, and [**MySQL**](https://www.mysql.com/) **5.6** or greater on your server. We have tested it on Windows, Mac, and Linux. Below is a list of items, you should ensure that your host can comply with.

* Check to ensure that your web host has the **minimum requirements** to run WordPress and themes.
* Always make sure they are running the latest version of WordPress.
* If necessary, you can download the latest release of WordPress from the official [WordPress](https://wordpress.org/) website.
* Always create secure passwords FTP and Database.

#### Minimum Requirement

Many issues you may run into such as white screen, demo content fails when importing, empty page content, skin not being saved, Add Listing not being saved and other similar issues are all related to low PHP configuration limits. The solution is to increase the PHP limits. You can do this on your own, or contact your web host and ask them to increase those limits to a minimum as follows:

```
max_execution_time = 120
memory_limit = 128M
post_max_site = 64M
upload_max_filesize = 64M
max_input_time = 60
max_input_vars = 3000
```

Also consider upgrading your PHP version to the [latest version](http://php.net/releases/), the newer the better.

In cases when you cannot update the PHP version yourself, you need to contact your host about this. The upgrade process is very easy and should be something that your host can do for you without impacting your website or charging you a fee. Here’s a letter you can send to your hosting company:

> *Dear host,*
>
> *I’m running Wilcity theme on one of your servers and this theme has recommended using at least PHP 5.6 or higher. WordPress, the content management system that my theme uses, has listed PHP 7.4 as the recommended version on their requirements page:* [*https://wordpress.org/about/requirements/*](https://wordpress.org/about/requirements/)
>
> *Can you please let me know if my hosting supports PHP 7.0 or higher and how I can upgrade?*
>
> *Also please increase those limits to a minimum as follows:*\
> *max\_execution\_time = 180* \
> *memory\_limit = 128M*\
> *post\_max\_size = 64M*\
> *upload\_max\_filesize = 64M*\
> *max\_input\_time = 60*\
> *max\_input\_vars = 3000*
>
> *Looking forward to your reply.*

### How To Verify Your Current PHP Limits? <a href="#how-to-verify-your-current-php-limits" id="how-to-verify-your-current-php-limits"></a>

You can check your PHP configuration limits also by installing the [WordPress phpinfo()](https://wordpress.org/plugins/wordpress-php-info/) plugin and then going to **Settings** > **PHP Info**. The first column (Local) refers to your installation value, and the second column (Master) refers to the limits of your host. The latter values are often lower if you have selected a cheaper hosting package.


# How to install and config Product badges

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

* You can download the Product Badges plugin here
* After that you need to add your Application Password to the auth setting of the plugin&#x20;
  * You can create Application Password by go to Users -> Admin -> Add New Application Password to generate a new Application Password (If you already have one you can use it instead)
  * If you doesn't see this option. Please download this [plugin](https://wordpress.org/plugins/application-passwords-enable/#:~:text=Search%20for%20“Application%20Passwords%20Enable,New%20in%20your%20WordPress%20admin.) and redo the step above&#x20;
  * After you have your Application Password, you can go to the Magic Badges's auth setting on your side bar&#x20;

![](https://4054773118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6Wvte8xY06DhbpbdDEy%2Fuploads%2FTJCCgPeIfQKO7JiydTwl%2Fimage.png?alt=media\&token=053173f0-c353-4775-83b0-63abd1ca1b1b)

* &#x20; After that you can fill these fields&#x20;
  * Your username (1)
  * Your application password (2)

![](https://4054773118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh6Wvte8xY06DhbpbdDEy%2Fuploads%2FtdIc7QLsWDrpUPUuVWHx%2Fimage%20\(1\).png?alt=media\&token=ec0d8f60-e2dd-4679-bbe8-d8c1a5f43612)

* You can upgrade to the pro version of the plugin by click on the upgrade plan and paste you purcahse code in (you can find your purchase code [here](https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-))
* Click on ''Save Change'' button and you are ready to go.


# How to change the priority showing the badges

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

You can change the priority showing the badges on your product by simply drag and drop the badges section up or down. The higher the section get the more [***prioritize***](https://www.google.com/search?client=opera-gx\&hs=4Lv\&q=prioritize\&spell=1\&sa=X\&ved=2ahUKEwjAs8XViJX3AhUhpVYBHVnnB-4QkeECKAB6BAgCEDY) it will get&#x20;

{% embed url="<https://youtu.be/uLq_34Xg7GA>" %}


# How to add the new arrival badge to your products

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

{% embed url="<https://youtu.be/ZPq86W8coxM>" %}


# How to add the on sale badge to your products

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

You can put your product to on sale by follow this [guide ](https://noorsplugin.com/how-to-put-your-woocommerce-product-on-sale/)

You can add on sale badges to your on sale products automatically by follow the video i put below.

{% embed url="<https://youtu.be/WpVPa7rWHAg>" %}


# How to add the out of stock badge to your products

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

{% embed url="<https://youtu.be/e50U-wjZKmM>" %}


# Manually add badge to your products&#x20;

{% hint style="danger" %}
Reminde&#x72;**:** Make sure you meet [the requirements](/) of the plugin.
{% endhint %}

{% embed url="<https://youtu.be/vTlbaQ5nspI>" %}


