On envoie à l'API beds24 le prix de la chambre
This commit is contained in:
@@ -160,20 +160,21 @@
|
||||
{$available = false}
|
||||
|
||||
{* Si le bien est dispo aux dates mémorisées on prend le prix indiqué *}
|
||||
{loop type="beds24.availability" name="disponibilite" product_id=$product_id use_saved_search_criteria=true}
|
||||
{$available = true}
|
||||
<span class="regular-price col-xs-12">
|
||||
<span itemprop="price" class="price">
|
||||
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span class="price"{if $PRICE neq $PRICE_REMISE} style="text-decoration:line-through;"{/if}>{format_money number=$PRICE symbol={currency attr="symbol"}}</span></span>
|
||||
{ifloop rel='disponibilite'}
|
||||
{loop type="beds24.availability" name="disponibilite" product_id=$product_id use_saved_search_criteria=true}
|
||||
{$available = true}
|
||||
<span class="regular-price col-xs-12">
|
||||
<span itemprop="price" class="price">
|
||||
<span class="special-price"><span class="price-label">{intl l="Special Price:"} </span><span class="price"{if $PRICE neq $PRICE_REMISE} style="text-decoration:line-through;"{/if}>{format_money number=$PRICE symbol={currency attr="symbol"}}</span></span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
{if $PRICE neq $PRICE_REMISE}
|
||||
Prix remisé : <span class="price_remise"><strong>{format_money number=$PRICE_REMISE symbol={currency attr="symbol"}}</strong></span>
|
||||
- Remise : -<span class="remise">{$REMISE}</span>%
|
||||
- Nb jours : <span class="nb_jours">{$NB_JOURS}</span> jour(s)
|
||||
{/if}
|
||||
{/loop}
|
||||
|
||||
{if $PRICE neq $PRICE_REMISE}
|
||||
Prix remisé : <span class="price_remise"><strong>{format_money number=$PRICE_REMISE symbol={currency attr="symbol"}}</strong></span>
|
||||
- Remise : -<span class="remise">{$REMISE}</span>%
|
||||
- Nb jours : <span class="nb_jours">{$NB_JOURS}</span> jour(s)
|
||||
{/if}
|
||||
{/loop}
|
||||
{/ifloop}
|
||||
{elseloop rel='disponibilite'}
|
||||
{* Pas de dispo avec les paramètres mémorisés récupérer le prix mini *}
|
||||
{loop type="beds24.description" name="description" product_id=$product_id}
|
||||
@@ -188,7 +189,7 @@
|
||||
{else}
|
||||
{$available = true}
|
||||
|
||||
{* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *}
|
||||
{* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *}
|
||||
<meta itemprop="itemCondition" itemtype="http://schema.org/ItemCondition" content="NewCondition">
|
||||
{* List of currency : The currency used to describe the product price, in three-letter ISO format. *}
|
||||
<meta itemprop="priceCurrency" content="{currency attr="code"}">
|
||||
|
||||
Reference in New Issue
Block a user