Options combinations v2.4.1 not null

BioStars

Member
XNullUser
Joined
Jan 4, 2022
Messages
630
Reaction score
1
Points
18
NullCash
38
very nice sharing thank you we are waiting for the next
 

websaz

Active member
XNullUser
Joined
Sep 5, 2021
Messages
309
Reaction score
54
Points
28
NullCash
433
Is the source of the script locked (encrypt) with software such as ioncube?
If it is not locked, I can help you
 

kordiak

Member
XNullUser
Joined
Aug 2, 2022
Messages
698
Reaction score
10
Points
18
NullCash
8
Thank you in advance for this module, best regards to you.
 

anemosfilak

Member
XNullUser
Joined
Mar 24, 2022
Messages
39
Reaction score
0
Points
6
NullCash
6
very nice sharing thank you we are waiting for the next
thanks alott
 

gokhan26

Member
XNullUser
Joined
Dec 3, 2021
Messages
130
Reaction score
2
Points
18
NullCash
24
very nice sharing thank you we are waiting for the next
 

OldPirate

Member
XNullUser
Joined
Feb 29, 2024
Messages
51
Reaction score
6
Points
6
Location
sea
NullCash
51
very nice sharing thank you we are waiting for the next
 

hoangit81

Member
XNullUser
Joined
Apr 11, 2022
Messages
53
Reaction score
38
Points
18
NullCash
19
very nice sharing thank you we are waiting for the next
 

sanchozu

Member
XNullUser
Joined
Feb 29, 2024
Messages
103
Reaction score
9
Points
18
Location
Andromeda
NullCash
48
The protection was not removed from the module.
The essence of the protection is that there is no form for changing the module settings. After entering the key, the HTML code of the form is loaded. It is necessary to rewrite the template for changing module settings or take it from the module installed with the license.
 

OldPirate

Member
XNullUser
Joined
Feb 29, 2024
Messages
51
Reaction score
6
Points
6
Location
sea
NullCash
51
Instructions for removing protection from the module

The module's settings change form has been removed; it is downloaded from the developer's website after entering the license key. But the settings can be changed directly in the database table `oc_setting`, to do this, create entries with the module `code`='options_combinations' and an option key `key`= required_option, here is an example of activating the module, including the model, image, price, sku:


Run this database query and the module will be enabled:
Code:
INSERT INTO `oc_setting` (`store_id`, `code`, `key`, `value`, `serialized`) VALUES
(0, 'options_combinations', 'config_opt_comb_status', '1', 0),
(0, 'options_combinations', 'config_opt_comb_price', '1', 0),
(0, 'options_combinations', 'config_opt_comb_model', '1', 0),
(0, 'options_combinations', 'config_opt_comb_sku', '1', 0),
(0, 'options_combinations', 'config_opt_comb_image', '1', 0);

List of option keys (not all, but the rest can be seen in the code):
Code:
config_opt_comb_model
config_opt_comb_sku
config_opt_comb_upc
config_opt_comb_price
config_opt_comb_price_customer_groups
config_opt_comb_weight
config_opt_comb_dimensions
config_opt_comb_extra
config_opt_comb_discount
config_opt_comb_special
config_opt_comb_image
config_opt_comb_points
config_opt_comb_seo_url

config_opt_comb_bullet_radius
config_opt_comb_bullet_selected_color
config_opt_comb_bullet
config_opt_comb_bullet_option

config_opt_comb_status
config_opt_comb_combinations_as_products
config_opt_comb_options_to_group_combinations
config_opt_comb_keep_stock_at_zero
config_opt_comb_button_reset_options
config_opt_comb_theme_generic
config_opt_comb_options_like_images_hide_not_available
config_opt_comb_options_like_list_hide_not_available
config_opt_comb_stock
config_opt_comb_text_select_combination_message_ config_language_id
config_opt_comb_text_unavailable_quantity_ config_language_id
config_opt_comb_text_starting_from_ config_language_id

the result of my actions, the module works both in the admin panel and on the front:
1710086820820.png


To completely nulled the module, you need to rewrite the form template for changing module settings:
\admin\view\template\extension\module\options_combinations.twig
In this file, you need to rewrite the form template for editing module settings, or take the form from the licensed module. I don’t have time to rewrite, and the author of the post does not respond to my request, so anyone interested can discuss this.

Code:
        <div class="panel-body">
                {% if form is not empty %}
                    {{ form }}
                {% else %}
                    <script type="text/javascript">
                        $(function() {
                            $(document).on("keydown", "input#license_id", function (e) {
                                if (e.which == 13) {
                                    ajax_get_form();
                                    event.preventDefault();
                                    return false;
                                }
                            });
                        });
                    </script>
                    <div class="license_form_container opencart_{{ oc_version }}">
                        <div class="row">
                            <div class="col-md-12">
                                <form id="license_form">
                                    <h2 class="heading">{{ text_validate_license }}</h2>
                                    <input type="text" id="license_id" name="license_id" class="form-control" placeholder="{{ text_license_id }}" required="" value="{{ license_id }}">
                                    <a class="btn btn-lg btn-primary btn-block" onclick="ajax_get_form();return false;">{{ text_send }}</a>
                                    {{ link_trial ? link_trial : '' }}
                                </form>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12">
                            <div class="alert alert-info">{{ text_license_info }}</div>
                        </div>
                    </div>
                {% endif %}
            </div>
Post automatically merged:

Module developer page:
Post automatically merged:

To enable the module, run a database query:
SQL:
INSERT INTO `oc_setting` (`setting_id`, `store_id`, `code`, `key`, `value`, `serialized`) VALUES (NULL, '0', 'module_options_combinations_options', 'module_options_combinations_status', '1', '0');
1710096895114.png
 
Last edited:

sanchozu

Member
XNullUser
Joined
Feb 29, 2024
Messages
103
Reaction score
9
Points
18
Location
Andromeda
NullCash
48

vas00044

New member
XNullUser
Joined
Apr 26, 2024
Messages
9
Reaction score
0
Points
1
Location
berlin
NullCash
2
Спасибо за модуль. Как раз то что искали
 

woundedheart

Member
XNullUser
Joined
Feb 4, 2022
Messages
118
Reaction score
0
Points
16
NullCash
2
Thank you I'm trying.................................................
 

liwya2021

Member
XNullUser
Joined
Aug 21, 2021
Messages
130
Reaction score
13
Points
18
NullCash
0
Thank you I'm trying.................................................
 
Top