Reading list Switch to dark mode

    Guide for Magento 2 Product Repricer

    Updated 19 October 2023

    Magento 2 Product Repricer module facilitates the admin to compare the price of the product of their website to another eCommerce website. Nowadays user compares the price of the product and then purchase it so it’s difficult to get the customers sometimes.

    With the help of the repricer module, the admin can compare the price and reduce their website’s product amount.

    They can also create multiple competitor websites for comparing products. Admin needs to use the CSS HTML code to compare the price with another website.

    Note: This module only works with the Simple Product Type.

    Check a brief overview of the plugin –

    Start your headless eCommerce
    now.
    Find out More
    I46PpC9aCEE

    Features of Magento 2 Product Repricer

    • The admin can create multiple competitor websites (stores).
    • The price comparison is based on special schemas for parsing prices in the HTML code of product pages.
    • Parsing of competitors’ websites (manual launch).
    • Support of several types of prices, discounts, promotional activities, and product availability from competitors.
    • Admin can delete the competitors in bulk mode.
    • The changed price will reflect on the customer’s end.
    • One price rule will applicable while updating the price of the module.
    • The admin can download the competitor product’s HTML code.
    • XPath and CSS selectors use to retrieve prices from the competitor site.
    • The admin can set the cron configuration for price changes according to the competitor’s website.

    Install Extension from Webkul Store

    #1 Download Module

    Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

    #2 Upload Folder

    Once the module zip is extracted, follow path src>app and then copy the app folder into the Adobe Commerce Cloud root directory on the server as shown below:

    Installation Of Show Price After Login for Magento2

    #3 Run Commands

    After uploading the module folder, you need to run the following commands in the Magento 2 root directory:

    • composer require symfony/dom-crawler
    • php bin/magento setup:upgrade
    • php bin/magento setup:di:compile
    • php bin/magento setup:static-content:deploy
    • php bin/magento indexer:reindex
    • php bin/magento cache:flush

    Admin Configuration

    The admin will navigate through to the admin’s panel and click on the Webkul Repricer tab. Where admin can add the competitors.

    magento234.webkul.com_m2442_pub_admin_repricer_repricer_index_key_86bab3ef34e6ef1dbe4a35b743062c9d46230afc8b741a9f016fdf0a293d59bf_

    Once the admin clicks on the competitors tab a new page will open where they can add the competitors from different websites.

    magento 2 repricer

    Add Competitors

    magento234.webkul.com_m2442_pub_admin_repricer_repricer_add_key_69376dc13486b8292bd236e732c94cec36b467f052863f7dcf8ed12e9d37b812_

    When the admin clicks on add button a new page will open where they need to fill in some competitor’s details.

    Name: Name of the competitor’s site.

    Domain Name: Domain name of the competitor.

    Status: Enable/Disable the competitors.

    After all the necessary details once they hit on the save icon few options will open to complete the process.

    magento234.webkul.com_m2442_pub_admin_repricer_repricer_edit_entity_id_15_key_7f007f18af166882168a6a942a44ec8643f64e9423866de88f43d54f3ad25bf1_

    Here, the admin will enter the competitor’s product link in the product attribute tab and then click on the save button.

    Example: Here, we added a t-shirt link from Flipkart in the product attribute section. The admin needs to use the link which is showing in the search bar to the test link tab.

    Screenshot-from-2022-08-31-18-17-59

    Once the link is added, the admin needs to save the details so the product will add as a competitor.

    Screenshot-from-2022-08-30-12-03-15

    Once the link is added, the admin needs to download the HTML code after that product will be available for testing.

    Also, the admin can add different links and CSS selector and Xpath selector values to get a different value.

    magento234.webkul.com_m2443_pub_admin_repricer_repricer_edit_entity_id_13_key_2e76073beeba6fec95d2eea2b0d3db48fffb2ce3380904e74aabd67f85f6861f_

    Furthermore, the admin can add multiple details or choose anyone to compare the price. here they can add stock at the competitor, discount price, sales price, and the full price of the competitor.

    These values will add from the rival site in two forms whether its text format or direct value. And the search rule applies to the CSS selector and Xpath selector values.

    Get Text: The text value is retrieved for text content.

    Get Value: It is used for retrieving the attribute value from the HTML tag.

    Example: we have added here the full price of the product via CSS selector value.

    How to get the CSS selector value?

    The admin will open the competitor’s website and select the product which they have entered for price comparison. Then inspect the price value and copy it and then paste it into the required field.

    Screenshot-from-2022-08-30-17-06-40

    Once the admin clicks on copy selector, a link will be copied and need to be pasted into the value tab then click on the save button.

    How to get the Xpath Selector value?

    The admin will open the competitor’s website and select the product which they have entered for price comparison. Then inspect the price value and copy it and then paste it into the required field.

    Screenshot-from-2022-12-05-18-26-45

    Once the admin clicks on copy Xpath, a link will be copied and need to be pasted into the value tab then click on the save button.

    Note: If a user knows HTML then they can write a custom CSS selector or Xpath selector to retrieve the price.

    magento234.webkul.com_m2443_pub_admin_repricer_repricer_edit_entity_id_13_key_2e76073beeba6fec95d2eea2b0d3db48fffb2ce3380904e74aabd67f85f6861f_-1

    The admin can check the parse result of the competitor’s product when they click on the test button. So the admin can see the details in the popup. In this popup, they can check the full price of the competitor, and if admin adds the rest of the details like sales price, discount price, stock, and promotions.

    magento234.webkul.com_m2443_pub_admin_repricer_repricer_edit_entity_id_13_key_8cdcbd51700e52ee56ddc0fc6ba5bf5b19aab1c9334c8ab3aebf0fc45164c04b_

    Furthermore, the admin can download the HTML code from the download HTML code button in the product attribute tab.

    Product Price Comparison Configuration

    Once the competitor’s product is added admin needs to edit their own website’s product details from the product section.

    magento234.webkul.com_m2442_pub_admin_catalog_product_edit_id_1_key_45be87500915ccc28140d04581a4b623895e299b6b498da534a17d27f86951b3_-1

    One tab is available in the edit section with the name of the dynamic repricer. The admin needs to add the competitor first which was added previously.

    Here, the admin click on add competitor button, and a popup will open. Where admin chooses the pre-added competitors, enters their product link, and status as enable/disable.

    magento234.webkul.com_m2442_pub_admin_catalog_product_edit_id_1_set_4_key_5add8009cae927a48d479f449e17e9c3b0a639001a371c4a15a1ff74e8fa4db0_type_simple_store_0_back_edit_

    Once the competitor is added, Parse the competitor in the edit product section, and the admin will enter the product details as per the competitor’s product details.

    Screenshot-from-2022-08-30-12-10-44

    After parsing the competitor details will show in the competitor list. The admin can check the last parsing date and time, FPC, SC, DPC, Stock, and Discount amount in the list.

    Screenshot-2-1

    Now, the admin will enter the comparison price rule so accordingly value will change on the customer’s end.

    As per the above image, the admin needs to enter the target price and deduction percentage so a price rule will apply and the price will change.

    Target Price: Target price is the minimum price of the admin’s product means after calculation price shouldn’t decrease from the targeted price.

    Deduction Percentage: Basically deduction percentage is the deduction value of the admin’s product base price but it will add in the difference amount first then the total percentage will apply to the base amount.

    Example: As per the below image base price of the product is 2000.

    magento234.webkul.com_m2442_pub_t-shirt.html

    To understand this check the calculation below:

    Example

    Admin website’s product base price: 2000$

    Competitors’ website product price: 999$

    Difference between both pricing: 1001$

    Percent-wise difference: 50.05%

    The percentage added by the admin: 10% addition on difference percentage

    Total: (50.05%+10%) – 60.05% of the base price of the admin’s product

    To get the reduced value 60.05% of 2000 is equal to 1201. This amount will deduct from the base price so the remaining price is 799. Once the admin saves the price rule the changes will reflect on the customer’s panel.

    magento234.webkul.com_m2442_pub_t-shirt.html-1

    If the admin wants to increase the target price let’s suppose 800.

    Screenshot-from-2022-08-30-12-18-58

    After changing the amount once they hit on the save price a popup will arise with an error message as per the below image.

    Note: If we have value in FPC, SC, and DPC then the admin product price will compare with the lowest price among these three.

    magento234.webkul.com_m2442_pub_admin_catalog_product_edit_id_1_set_4_key_5add8009cae927a48d479f449e17e9c3b0a639001a371c4a15a1ff74e8fa4db0_type_simple_store_0_back_edit_-2

    Cron Functionality

    The admin can set the corn job to update the product pricing as per the rival site.

    magento234.webkul.com_m2443_pub_admin_admin_system_config_index_key_a90dfa632641b2796ae3d7678deeef7816310f029a88e944a0c8d78677ff53a7_

    The corn frequency can be added on a daily, weekly, and monthly basis.

    Screenshot-from-2022-12-05-15-44-57

    Overall the Magento 2 Product Repricer helps the admin to compare the price and change them accordingly.

    You can also check our complete Magento 2 extensions.

    That is all about the Magento 2 Product Repricer. If you have any queries regarding the plugin, please contact us at Webkul Support System.

    Current Product Version - 5.0.1

    Supported Framework Version - 2.0.x , 2.1.x , 2.2.x , 2.3.x , 2.4.x

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home