Raffle315|Help Center

thumbnail

Initial Setup

  1. In the theme editor, click “Home page” > “Products” > “Create template”.

  1. Enter any name (using letters and numbers), then click “Create template”.

  1. Remove the purchase button from the template you created, then click “Save”.

  1. From the product management page, change the theme template of the lottery product to the one you created in Step 2.

If this setting is not applied, the Purchase button may temporarily appear if the app loads slowly due to high traffic or other factors, allowing customers to complete a normal purchase.

Please make sure to change the template for each lottery product.


  1. From the left menu in the app admin, click “Install.”

  2. Select the Shopify theme where you want to install the app.

  3. Enable the app in the theme customization screen, then click “Save” in the top-right corner.You can also change the button and text colors on the lottery page here.


  1. From the app’s left menu, click “Campaign Management.”

  2. On the Campaign Management page, click “Create New Campaign.”

  3. On the campaign creation page, enter the following information:

    1. Campaign name (Internal Use)

    2. Campaign description (Internal Use)

    3. Annotation text

    4. Target product

    5. Application period

    6. Planned number of winners (can be changed later)

  4. Click “Create” in the top-right or bottom-right corner of the screen.

Currently, Raffle 315 supports only Shopify Vintage Theme and Default Theme, and it works by modifying the product page based on these themes.

Therefore, if your product page has been customized, or depending on the theme you are using, the following settings may not be applied correctly:

  • the insertion position of the raffle application block

  • removal of the Add to Cart button

As a result, the raffle participation block may appear at the bottom of the page.

Depending on your theme’s capabilities, please use one of the following methods.


  1. Open the theme customizer.

  2. Select the product template you created for raffle products.

  3. Remove the existing Buy buttons block from the template.

  4. Add a new Liquid block and paste the following code.

Plaintext
<div id="raffle315-container"></div>
  1. Move the block to your desired position, then click “Save.”


  1. Open the theme code editor.

  2. Open the template file used for the product page.

    (Example: sections/main-product.liquid. The file name may vary depending on the theme.)

  3. Add the following code at the location where you want the raffle block to appear:

    Plaintext
    <div id="raffle315-container"></div>
  4. Add the following class to the Add to Cart button.

Plaintext
raffle-hide