Shopify Script to offer BOGO on Compare at price.

Job ID: 37079681

Budget: ₹1,500 – ₹12,500 INR

I am looking for a Shopify expert to create a custom script that will enable a Buy One Get One (BOGO) offer on the "Compare at" price in my online store.
Giving example

Scenario 1

Product Compare at price 399
Selling Price = 319.2 at 20% Discount



in above scenario customer has purchased only 1 product so he is getting that in discounted price of 239

Scenario 2:

Now customer has purchased 2 products

Product 1 = Compare at price 399  Sale Price = 319.20 at 20 % Discount

Product 2 = Compare at price 200  Sale Price = 160 at 20 % Discount

Now I want that in this Scenario he should get a Buy 1 Get 1 Offer and he should only pay compare at price of one product only, i.e. 399.  (Higher one obviously) 

Minimum Purchase Quantity:
- The BOGO offer should be available for customers who purchase a minimum quantity of 2.

Scope of Offer:
- The offer should be applicable across my entire store, meaning it should apply to all products available for purchase.

Item Price Comparison:
- The BOGO offer should be applied to the cheaper item in the customer's cart.

Ideal Skills and Experience:
- Proficiency in Shopify development and customization.
- Experience in creating custom scripts and applying discounts/offers.
- Strong understanding of Shopify's API and its capabilities.
- Attention to detail and ability to thoroughly test the script's functionality.

If you have the necessary skills and experience, and can deliver a high-quality and functional Shopify script for the BOGO offer on the "Compare at" price, please reach out to me with your portfolio and proposed approach to this project.
Related categories: PHP Website Design HTML Shopify Templates Shopify