Apply Discount Coupon Code via Link

Installation and User Guide for Magento 1 Apply Discount Coupon code via link

Table of Contents

  1. Installation
    • Disable Compilation Mode
    • Upload Package
    • Clear Caches
  2. Configuration Settings for Auto Apply Coupon Code
    • General Settings
  3. Discount Setup
  4. Discount Link
  5. Front-end Site View
    • Successful Applied Discount Message on the Front-end
    • Successful Applied Discount Message on the Cart Page
    • Coupon Code on the Checkout Page

Installation

Configuration Settings for Auto Apply Coupon Code

Go to Admin > Stores > Configuration > Scommerce Configuration > Auto Apply Coupon Code

General Settings

image - 2025-06-18T163314.530.jpg

Discount Setup

You can set up the discount coupon code from Admin > Promotions> Shopping Cart Price Rules > Click "Add New Rule" , it redirects on "New Cart Price Rule" and by providing all the required details you can create the new rule and set up the discount code.

image - 2025-06-18T163409.009.jpg

Once the discount is set up then on the front-end it can be applied using the below link: -

http://{[siteurl}}/applydiscount?code={[discount_code}}&returning_url={[any_url_of_ your_site}}

  1. Site url – Site base URL
  2. Discount Code – Discount code as set up in discount
  3. Returning Site URL – This is optional parameter, If defined, user will be redirected to this URL after successful application of the discount code, If not defined then User will be redirected to the Home page.

image - 2025-06-18T163457.444.jpg

Front-end Site View

image - 2025-06-18T163611.868.jpg

image - 2025-06-18T163648.455.jpg

image - 2025-06-18T163735.618.jpg

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #1
Created 18 June 2025 10:59:31 by scommerce
Updated 18 June 2025 11:08:23 by scommerce