Create a product: Fresh Pet Food (Shipping Fallback)

This tutorial is geared for a merchant who is selling Fresh Pet Food but business pivots and the previous shipping methods are no longer available or the renewal no longer falls under the free shipping rule, based on the total order amount.

In this example let's imagine you are a pet food merchant, one of the products you are selling is 'Dry Dog Food', this product is available in 6 lb(s), 15 lb(s) and 30 lb(s) sizes, we want to allow weekly and once-in-two weeks subscriptions. The customer subscribes to products and chooses some delivery method during checkout, after some time this method is no longer available.

 

Step-by-step guide:

One simple way to get this setup would be to create a configurable product "Dry Dog Food" with configurable options 6 lb(s), 15 lb(s) and 30 lb(s) sizes and activate one of the 'Shipping Fallback' options: Pick the cheapest available or Use the Default

  1. Creating "Dry Dog Food" product

  • Product Name: Dry Dog Food

  • SKU: dry-dog-food

  • Subscription Options: At this point select “One-time Purchase Only“

  • our basic product setup is complete

2. Setup Billing Frequency (how to set up a billing frequency)

  • Navigate to MPOWER - ConfigurationBilling Frequency

  • Add new billing frequency (weekly and fortnightly)

3. Open previously created product Scroll down to the Subscription Options section and open it

  • Available For: set to "One-Time and Recurring"

  • Click on the ‘Manage’ button for opening Recurring Options Management

  • Step 1: Select attributes - Set all attributes to No

  • Step 2: Recurring Settings

Is Trial Offered - NO

Start Date - Moment of purchase

Lock Product Price - YES

Offer Flat Discount - NO

  • Step 3: Billing Frequencies - Click on Add New button twice and select correspond Billing Frequency (weekly and fortnightly) - click Next and Save

  • At this point subscription product (parent) setup is complete

4. Next, we need to add all child products we've created from configuration options to the same billing frequencies

  • Open child simple product

  • Scroll down to the Subscription Options section and open it

  • Available For: set to "One-Time and Recurring"

  • Click on the ‘Manage’ button for opening Recurring Options Management

  • Step 1: Recurring Settings - Lock Product Price - ON (This option will allow us to keep the product price the same regardless of the billing frequency selected)

  • Step 2: Billing Frequencies - Click on Add New button twice and select correspond Billing Frequency (weekly and fortnightly) - click Next and Save

  • At this point subscription product (child) setup is complete (repeat for all child products related to our configurable product)

5. Activate ‘Pick the cheapest available’ option as Shipping Fallback

  • Navigate to Stores - Configuration - MPOWER - Subscription Profiles

  • Select ‘Pick the cheapest available’ from Shipping Fallback drop down

  • Save Config

  • Place an order with created subscription (for example Pack Size: 15lb(s), fortnightly), during checkout choose some available delivery method (Flat Rate for example)

  • Check subscription in a customer account

 

 

6. Disable 'Flat Rate' delivery method from Admin Panel

 

RESULT:

Magento will pick the cheapest option available and substitute it for that renewal