Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Content, brand and partnerships
Choose module

Launch and promotion pages

Open the original ad URL after a promotion ends. Review the heading, terms, code and buying path, and give returning visitors a usable next step.

After expiry, follow the original link from a sent email. Inspect deadline, discount behavior and a usable purchase or support route for late visitors.

A blank date produced no empty deadline label. If a separate banner promises another date, trace the banner’s own source.

Reproduce the test and inspect the readings

Deadline blank / explicitly supplied. Counts below report occurrences of “Offer deadline:” in the two outputs.

In the order above
0 then 1

WESWOO rendered the template body locally with two input fixtures. Shopify form and pagination wrappers and editor schemas were excluded. The comparison checks output branches.

2026-11-24 · LiquidJS 10.21.1 · sections/ww-campaign.liquid

Download test conditions and raw readings (JSON)

Inspect the source and verification point

sections/ww-campaign.liquid · line 3

  <div>{{ section.settings.conditions }}</div>
  {% if section.settings.deadline != blank %}<p>Offer deadline: {{ section.settings.deadline | escape }}</p>{% endif %}
  {% assign series = section.settings.collection %}

How the module works

Put terms before the countdown

Maintain heading, conditions, a timezone-aware deadline and an actual collection. Explain markets, eligibility and exclusions, then use existing product cards for prices and destinations so the scope is clear.

Without a collection, retain the explanation and omit the empty product list. Keep one main H1 and appropriate-language product links. Placing a card on a campaign page does not itself change its transaction price.

Maintain timing and application together

A readable deadline provides basic timing. A countdown additionally needs timezone and expiry handling. Synchronize announcement copy, campaign content and discount configuration when an offer ends.

Copying a code establishes only clipboard success. Use eligible and excluded products to examine checkout conditions. The example creates neither discounts nor product-price changes; it presents configured business rules rather than inventing them in frontend copy.

Example source code

View 2 source filesLIQUID · JS
sections/ww-campaign.liquid
<section aria-labelledby="Campaign-{{ section.id }}">
  <h1 id="Campaign-{{ section.id }}">{{ section.settings.heading | escape }}</h1>
  <div>{{ section.settings.conditions }}</div>
  {% if section.settings.deadline != blank %}<p>Offer deadline: {{ section.settings.deadline | escape }}</p>{% endif %}
  {% assign series = section.settings.collection %}
  {% if series != blank %}
    <h2><a href="{{ series.url | escape }}">{{ series.title | escape }}</a></h2>
    <ul>{% for product in series.products limit: 4 %}<li>{% render 'ww-product-card', product: product %}</li>{% endfor %}</ul>
  {% endif %}
</section>
{% schema %}
{
  "name":"WW launch or promotion",
  "settings":[
    {"type":"text","id":"heading","label":"Campaign heading","default":"Explore the collection"},
    {"type":"richtext","id":"conditions","label":"Markets, eligibility and exclusions"},
    {"type":"text","id":"deadline","label":"Deadline including time zone"},
    {"type":"collection","id":"collection","label":"Eligible product collection"}
  ],
  "presets":[{"name":"WW launch or promotion"}]
}
{% endschema %}

Integration and checks

Integration steps

3 steps
  1. Create the campaign template

    Add the section to a preview campaign template with one H1.

  2. Configure eligible collections and terms

    Configure real eligible products and approved terms.

  3. Test the offer at checkout

    Validate eligibility at checkout and then synchronize announcement and code instructions.

Data and dependencies

  • Section settings define heading, conditions, a time-zone-qualified deadline and collection.
  • Reuse ww-product-card and the existing discount-copy helper.

Interaction and states

  • A missing collection omits the product grid while retaining the explanation.
  • A deadline change must be checked across announcements and configured discounts.

Before launch

State feedback
StateTriggerOutcome
No collectionRenderKeep terms and omit empty products
Eligible campaignChoose productRead actual product and checkout conditions
Expired or changedMaintain campaignSynchronize all destinations and terms

A readable deadline is the baseline. An optional countdown needs time-zone and expired-state handling; this section does not create discounts or alter prices.

Sources and further reading

Scope and licensing

Educational implementations for Shopify themes and Headless projects. Confirm real inputs, interaction states and existing components in a development theme before store acceptance. Missing task-specific WESWOO articles remain unlinked.

Shopify/dawnLicenseShopify-integration theme license; architecture reference without copying the implementation. · 3e9ee2281dc4Shopify/hydrogenLicenseMIT; retain copyright and license when using substantial code. · 9e358a2462ba

References checked · 2026-11-24