manifest / integrations / tmsm-resawebintegration
TMSM Resaweb Integration WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Resaweb Shortcodes for prices
★ 0stars
1.1.1latest · 4 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/thermesmarins/tmsm-resawebintegration/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Features
- Uses Prices API
- Shortcode for loading prices:
- [resaweb_load]
- Attributes:
- package_id
- trip_id
- hotel_id
- nights
- Example 1: [resaweb_load package_id="1"] - Load all prices for package_id = 1
- Example 2: [resaweb_load hotel_id="GHT" package_id="1"] - Load price for package_id=1 in hotel_id=GHT
- Shortcode for displaying a price:
- [resaweb_price]
- Attributes:
- package_id (integer value, of the package ID)
- hotel_id (text value, codename of the place accommodation or treatments center)
- nights (integer value, number of nights)
- from (when =1, adds prefix "From" to the price)
- instead (when =1, adds suffix "instead of" when there is a discount)
- fallback (when =1, shows "Check availability" when there is no price)
- suffix (text value, added as a suffix after the price)
- Example 1: [resaweb_price hotel_id="GHT" package_id="1" nights="6"]
- Example 2: [resaweb_price hotel_id="BEST" package_id="1" nights="6"] for best price with accommodation
- Example 3: [resaweb_price hotel_id="BEST" package_id="1"] for best price with accommodation indifferent of duration
- Example 4: [resaweb_price hotel_id="BEST" package_id="1" from="1"] displays "From XXX€"
Releases
12 releases.
Tag
Published
1.1.1
latest
Nov 23, 2021 4 years ago
Nov 23, 2021 4 years ago
Nov 23, 2021 4 years ago
Dec 5, 2019 6 years ago
Oct 22, 2018 8 years ago
Oct 22, 2018 8 years ago
Aug 31, 2018 8 years ago
Aug 2, 2018 8 years ago
Aug 2, 2018 8 years ago
Aug 1, 2018 8 years ago
Dec 14, 2017 8 years ago
May 15, 2017 9 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.