-
Notifications
You must be signed in to change notification settings - Fork 10
Template Tags
Checks to see if the offer is new. If no offer is specified, it will default to the current offer in The Topspin Loop.
(bool)
True if the item is new.
Checks to see if the offer is on sale. If no offer is specified, it will default to the current offer in The Topspin Loop.
(bool)
True if the item is on sale.
Checks to see if the offer is sold out. If no offer is specified, it will default to the current offer in The Topspin Loop.
(bool)
True if the item is sold out.
Retrieves the offer type. If no offer is specified, it will default to the current offer in The Topspin Loop.
- buy_button
- email_for_media
- bundle_widget
- single_track_player_widget
(string)
The current offer type.
Checks to see if the offer has a thumbnail. If no offer is specified, it will default to the current offer in The Topspin Loop.
(bool)
True if the offer has a thumbnail.
Echoes the current offer's thumbnail. This tag must be used within The Topspin Loop.
Retrieves the offer's thumbnail image tag.
(string)
The offer's thumbnail image tag.
Echoes the offer's post ID. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's post ID. If no offer is specified, it will default to the current offer in The Topspin Loop.
(int|bool)
The offer's post ID or false on failure.
Echoes the current offer's Topspin campaign ID.
Retrieve the offer's campaign ID. If no offer is specified, it will default to the current offer in The Topspin Loop.
(int|bool)
The offer's campaign ID or false on failure.
Echoes the offer's title. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's title. If no offer is specified, it will default to the current offer in The Topspin Loop.
(string)
The offer's title.
Echoes the offer's content/description. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieves the content of the current offer.
(string)
The offer's content/description.
Echoes the offer's permalink. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's permalink. If no offer is specified, it will default to the current offer in The Topspin Loop.
(string)
The offer's permalink.
Echoes the offer's price. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's price. If no offer is specified, it will default to the current offer in The Topspin Loop.
(string)
The offer's price.
Echoes the offer's purchase link. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's purchase link. If no offer is specified, it will default to the current offer in The Topspin Loop.
(string)
The offer's purchase link.
Echoes the offer's embed code. If no offer is specified, it will default to the current offer in The Topspin Loop.
Retrieve the offer's embed code. If no offer is specified, it will default to the current offer in The Topspin Loop.
(string)
The offer's embed code.
Retrieve the previous link for the current store. This tag must be used within The Topsin Loop.
(string)
A URL for the previous page for the store query.
Retrieve the next link for the current store. This tag must be used within The Topsin Loop.
(string)
A URL for the next page for the store query.
Checks to see if the gallery exists for the offer. This tag must be used within The Topspin Loop.
(bool)
True if the current offer has more than 1 image.
Retrieve the gallery images. This tag must be used within The Topspin Loop.
(array)
An array of image objects.