Skip to content

Software made for Wix-Code. Allows site owners to add coupons with an expiration site directly to their website.

Notifications You must be signed in to change notification settings

benstjohn/Wix-Coupons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Wix-Coupons

Software made for Wix-Code. Allows site owners to add coupons with an expiration site directly to their website.

Getting Started

These instructions will help get you get a coupon uploading system set up on Wix.

Prerequisites

Make sure you have a Wix account and a Wix website that has the Unlimited plan. You will need to have developer tools turned on for this to work.

Turn on Developer Tools

In the top bar on the site editor, click on Code -> Developer Tools.

Give the example

And repeat

until finished

Step 1 - Creating Coupons Database

Explain how to run the automated tests for this system

Setting Permissions

Explain what these tests test and why

Give an example

Adding Database Columns

Explain what these tests test and why

Give an example

Step 2 - Create Coupons Page

We will cover the design and code of this page later. For now, you just need to create the page.

If a page doesn’t exist yet for coupons and promotions. Create new page for coupons - title “Coupons”

Step 3 - Create Lightbox "Success"

Create a lightbox using the side toolbar. Use the template:

Promo 20% off

Title the lightbox:

Success

Change main text to “Upload Successful!”, change the colors of the text and overlay background to fit your brand.

Close Button

Rename the existing button to "Close", and link it to the Coupons/Promotions page.

Settings

Change settings of lightbox so it does NOT automatically appear on page load.

Step 4 - Create Coupon Upload Page

We will cover the design and code of this page later. For now, you just need to create the page.

Create new page called “Coupon Upload”, and make it password protected - set the password to a memorable password. Also, set the page to “Hidden” and disable it from showing up in SEO.

Step 5 - Design Coupons Page

We will cover the design and code of this page later. For now, you just need to create the page.

Step 6 - Code Coupons Page

Copy the code exactly from Coupons and paste it in SITE code for the page "Coupons"

Step 6 - Design Coupon Upload Page

We will cover the design and code of this page later. For now, you just need to create the page.

Step 6 - Code Coupon Upload Page

Copy the code exactly from Coupon-Upload and paste it in SITE code for the page "Coupon Upload"

Save and Publish

Save your code - and then publish it. :)

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

About

Software made for Wix-Code. Allows site owners to add coupons with an expiration site directly to their website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published