Magic Subscriptions

Magic Subscriptions

Wordpress plugin

Install on Wordpress

App Details

This WordPress plugin is intended as a connector to Magic Subscriptions subscription box management system. It does require an account with Magic Subscriptions in order to be useful.

The intention is to keep users on the primary WordPress site as much as possible, only redirecting off to MagicSubscriptions portal when necessary; and bringing them back. To facilitate this, there are connectors that pull subscription and order information in to the plugin to display on the primary WordPress site.

For any technical support please contact: [email protected]

Components

All blocks are shown under a Magic Subscriptions folder in the block editor.

Plans

Name: PlansComponent
Block name: Plans
Block identifier: magic-subscriptions/plans
Shortcode: [ MagicSubscriptions_Plans code=’code‘ ]
Widget: Magic Subs (Plans)

The Plans component displays the subscription plans currently available within the LandingPage code

The code is optional and, if missing, the Default LandingPage will be used

ConnectButton

Name: ConnectButtonComponent
Block name: Connect
Block identifier: c-subscriptions/connect
Shortcode: [ MagicSubscriptions_Connect ]
Widget: Magic Subs (Connect)

The ConnectButton component displays a button to link (via a cookie) to a MagicSubscriptions login

If a valid connected cookie exists then this component is empty.

Summary

Name: SummaryComponent
Block name: Summary
Block identifier: magic-subscriptions/summary
Shortcode: [ MagicSubscriptions_Summary ]
Widget: Magic Subs (Summary)

The Summary component shows a ‘shopping cart’ style summary of the connected customer’s active subscriptions, pending orders and ‘open-box’ added items.

If the system is not connected to a login then this component is empty

Wide Summary

Name: WideSummaryComponent
Block name: Wide Summary
Block identifier: magic-subscriptions/widesummary
Shortcode: [ MagicSubscriptions_WideSummary ]
Widget: Magic Subs (Wide Summary)

The Wide Summary component is a landscape version of the Summary component

Shop

Name: ShopComponent
Block name: Shop
Block identifier: magic-subscriptions/shop
Shortcode: [ MagicSubscriptions_Shop tag=’tag‘ ]
Widget: Magic Subs (Shop)

The Shop component shows a product list that can be added to the next order that is scheduled.

The tag is required (or nothing will display) and relates to the tag set up in the products list in your Magic Subscriptions portal.

Attributes

Name: AttributeComponent

The Attributes component adds a section to Gutenberg blocks supporting the following options:

Visible when:

  • Always -> This is just the default (visibility not configured or controlled by the component.
  • When connected -> Only show this block if the user has connected to their Magic Subscriptions account.
  • When NOT connected -> Only show this block if the user has NOT connected to their Magic Subscriptions account.

Elementor

Name: ElementorComponent

The Elementor component adds a visibility option to the Advanced tab on the Edit Section -> Advanced panel:

Magic Subscriptions – visible when:

  • Tick-Tick (Always) -> This is just the default (visibility not configured or controlled by the component.
  • Tick (Connected) -> Only show this block if the user has connected to their Magic Subscriptions account.
  • Cross (Not connected) -> Only show this block if the user has NOT connected to their Magic Subscriptions account.

Hooks

MagicSubscriptions_OverrideRenderPlan (filter)

Parameters

$metal: The current Metal as configured in Magic Subscriptions
**$code$: The **Landing Page* code being rendered
**: New Metal Value. Any unknown [non-stndard] Metal values will result in the MagicSubscriptions_RenderPlan action to be called to render the plan.

Example:

add_filter( "MagicSubscriptions_OverrideRenderPlan", function( $metal, $code ) { return "MyNewMetalName"; }, 10, 2 ); 

MagicSubscriptions_RenderPlan (action)

Parameters

$metal: The Metal (theme) that is being rendered (as returned from the MagicSubscriptions_OverrideRenderPlan action)
$code: The Landing Page* code being rendered
**$plan
: Object representing the plan (TODO: Document object properties)
$action: URL Action for POSTing a form to => hands control over to Magic Subscriptions (note the $code, $plan->code [named plan] and $token should be included as hidden form post elements)
$token: Security token to be POSTed to Magic Subscriptions

Use:

This action is called for every plan being rendered within a section for an unknown [non-standard] Metal value.

Example:

add_action( "MagicSubscriptions_RenderPlan", function( $metal, $code, $plan, $action, $token ) { ?> <form class="plan" method='post' action='<?= $action ?>'> <input type='hidden' name='token' value='<?= $token ?>'> <input type='hidden' name='code' value='"<?= $code ?>'> <input type='hidden' name='plan' value='<?= $plan->code ?>'> <p><?= $plan->name ? $plan->name : $plan->scheduleName ?></p> <p><?= $plan->title ? $plan->title : $plan->scheduleTitle ?></p> <p><?= $plan->headline ? $plan->headline : $plan->scheduleHeadline ?></p> <p>£ <?= number_format( $plan->dayOnePrice, 2, '.', ',' ) ?></p> <p>£ <?= number_format( $plan->recurringPrice, 2, '.', ',' ) ?></p> <button type='submit'><?= $plan->actionLabel ?></button> </form> <?php }, 10, 5 ); 

Pricing

Starting from $0 per month.

Check Out the Countdown to Download Widget

By Common Ninja

Countdown to DownloadTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

No tags

Developed By

ronniebarker

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Maps

Maps plugins for Wordpress

Translation

Translation plugins for Wordpress

Chat

Chat plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Contact

Contact plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Forms

Forms plugins for Wordpress

Comments

Comments plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Comments

Comments plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Video Player

Video Player plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Security

Security plugins for Wordpress

Ads

Ads plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Membership

Membership plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Countdown to Download for Wordpress logo

Countdown to Download

Use a countdown to download widget that reveals files after the timer ends, builds anticipation, and guides visitors toward higher engagement.

Support Form for Wordpress logo

Support Form

Use a support form that lets customers submit tickets, saves each request, sends notifications, and helps you manage support more efficiently.

AliExpress Reviews for Wordpress logo

AliExpress Reviews

Show AliExpress reviews to build trust, improve credibility, and help visitors make confident purchase decisions that support higher sales.

Donation Button for Wordpress logo

Donation Button

Add a donation button that lets users contribute easily using PayPal or Stripe, supporting causes directly from your site.

Google Play Reviews for Wordpress logo

Google Play Reviews

Show Google Play reviews for your Android app to build trust, strengthen credibility, and help visitors make confident download decisions.

Image Stack Gallery for Wordpress logo

Image Stack Gallery

Showcase photos with an image stack gallery that layers images in a stacked display with smooth transitions to create a visually striking presentation.

Lottie Player for Wordpress logo

Lottie Player

Use a Lottie player to embed lightweight JSON animations that improve visual design, keep pages fast, and create a smoother user experience.

TikTok Feed for Wordpress logo

TikTok Feed

Show your latest TikTok videos in a live feed that keeps content fresh, builds social proof, and keeps visitors engaged.

Popup Builder for Wordpress logo

Popup Builder

Add customizable popups to your site to capture attention, deliver messages, and drive actions like signups or conversions.

Feedback Form for Wordpress logo

Feedback Form

Collect user insights with a feedback form that gathers valuable input, improves user experience, and helps you understand visitor needs more clearly.

Image Carousel for Wordpress logo

Image Carousel

Showcase images with an image carousel that rotates or slides visuals, improves design, and draws attention to key content.

AdBlocker Detector for Wordpress logo

AdBlocker Detector

Detect ad blockers on your site to maintain visibility into user behavior and support sustainable ad-based monetization.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms