[TUTORIAL] How to NULL Stylish Price List Plugin to Activate Premium Features

thegoldeneye

Power Member
Joined
Oct 26, 2015
Messages
544
Reaction score
520
A year ago, I had a client asking me to make a website for her Beauty Center, and she wanted to list all her offers on the website with the price. So she wanted a pricing list. I found this plugin called Stylish Price List, and it looked nice, all I needed at the moment, but the client's budget was limited, so I didn't want to spend an additional $20 to get this plugin.

We need to support developers, and $20 is nothing honestly, but I was in a position where I needed to find this bug and to use it. It was also a challenge for me, so here comes the tutorial where I will show you how to do it.

PREMIUM FEATURES

L9RXQGl

These are premium features, and with the free (basic) option, you are limited to a few services and categories. I think it's less than 5.

STEP ONE: Download the plugin from wordpress.org

We need to be able to edit files before we upload the plugin on the website and activate it. Go to wordpress.org and download the Stylish Price List.

mRKE32F

STEP TWO: Edit JavaScript file

After a while, I figured out that this JavaScript file is limiting us from using premium features.

The file can be found: /assets/js/pricelist-admin.js

What is limiting us here?

We have two things, and those are:

  1. max_service_count
  2. max_cat_count

We need to replace that with a number, so I used "9999" because I know I won't use more than that.

JRzuJmo

So code is:

Code:
(service_rows_count>=9999)

if(cat_count>=9999)

And that's all.

Let's check if it works:


tNSnCdP

NOTE: You can update this plugin, but keep in mind that you need to save this file and reupload or to do this again step by step. I recommend you just to save the file and to re-upload it again in the plugin directory.

You can report this as a bug, but... Let's keep this for us. There are many more plugins build this way, and if you know what to look, you will be able to find a hole and use it.3

I hope you will like this tutorial, and also I hope it will be helpful. If you have any questions, feel free.
 
Last edited:
We need to support developers, and $20 is nothing honestly, but I was in a position where I needed to find this bug and to use it. It was also a challenge for me, so here comes the tutorial where I will show you how to do it.

1601671350562.jpeg
 
Dont working...please help me.
J Have already installed priveliște in my Wordpress and i tryed to modify 9999 but still not working
 
A year ago, I had a client asking me to make a website for her Beauty Center, and she wanted to list all her offers on the website with the price. So she wanted a pricing list. I found this plugin called Stylish Price List, and it looked nice, all I needed at the moment, but the client's budget was limited, so I didn't want to spend an additional $20 to get this plugin.

We need to support developers, and $20 is nothing honestly, but I was in a position where I needed to find this bug and to use it. It was also a challenge for me, so here comes the tutorial where I will show you how to do it.

PREMIUM FEATURES

L9RXQGl

These are premium features, and with the free (basic) option, you are limited to a few services and categories. I think it's less than 5.

STEP ONE: Download the plugin from wordpress.org

We need to be able to edit files before we upload the plugin on the website and activate it. Go to wordpress.org and download the https://wordpress.org/plugins/stylish-price-list/.

mRKE32F

STEP TWO: Edit JavaScript file

After a while, I figured out that this JavaScript file is limiting us from using premium features.

The file can be found: /assets/js/pricelist-admin.js

What is limiting us here?

We have two things, and those are:

  1. max_service_count
  2. max_cat_count

We need to replace that with a number, so I used "9999" because I know I won't use more than that.

JRzuJmo

So code is:

Code:
(service_rows_count>=9999)

if(cat_count>=9999)

And that's all.

Let's check if it works:


tNSnCdP

NOTE: You can update this plugin, but keep in mind that you need to save this file and reupload or to do this again step by step. I recommend you just to save the file and to re-upload it again in the plugin directory.

You can report this as a bug, but... Let's keep this for us. There are many more plugins build this way, and if you know what to look, you will be able to find a hole and use it.3

I hope you will like this tutorial, and also I hope it will be helpful. If you have any questions, feel free.
Not working...can You send me the javascript modified please?
 
Version 6.9.8

Go to /admin/tabs/serversettings142.php and find these lines:

$opt['max_list_count'] = 2;
$opt['max_cat_count'] = 4;
$opt['max_service_count'] = 4;

And change the numbers for what exactly you need or just 999 at every line.
 
I know it's been a while since last post but is there any update?
Above options do not work anymore.
 
In admin\tabs\views\tabs-form\pricelist-form.php find

$max_cat_count = $opt['max_cat_count'];
$max_service_count = $opt['max_service_count'];
$max_list_count = $opt['max_list_count'];

and replace with

$max_cat_count = 999;
$max_service_count = 999;
$max_list_count = 999;
 
In admin\tabs\views\tabs-form\pricelist-form.php find

$max_cat_count = $opt['max_cat_count'];
$max_service_count = $opt['max_service_count'];
$max_list_count = $opt['max_list_count'];

and replace with

$max_cat_count = 999;
$max_service_count = 999;
$max_list_count = 999;
Awesome, that one works just fine! Thanks, man.

They really changed the code a lot since I found a first null solution :)
 
Hi all, this worked a treat! However mine is saying I need a licence key to make changes. Is there a workaround for this?
 
I have today tried to go through the steps mentioned in this forum but cant make the Stylish Page LIst to work? Can you still be able to help? Much appreciated.
 
Interesting workaround. Did you consider just finding a different free plugin that offered unlimited services/categories from the get-go?
 
Back
Top