{* This page should not replace the current previous URL *} {set_previous_url ignore_current="1"} {default_translation_domain domain='fo.default'} {loop type="product" name="add_product_to_cart" id={product attr="id"}}
{intl l="The product has been added to your cart" } |
||
|
{ifloop rel="pse-first-image"}
{loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id={$smarty.get.pse_id} limit="1"}
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$ID limit="1" width="218" height="146" resize_mode="borders"}
|
{$TITLE}{loop type="attribute_combination" name="product_options" product_sale_elements={$smarty.get.pse_id} order="manual"}{$ATTRIBUTE_TITLE} : {$ATTRIBUTE_AVAILABILITY_TITLE} {/loop} |
{* Récupérer le dernier item ajouté et afficher les infos de booking s'il y en a *}
{loop type="cart" name="cart-scan"}
{if $LOOP_COUNT == $LOOP_TOTAL}
{ifloop rel="booking"}
{$avecBooking = true}
{format_money number=$TAXED_PRICE}
{loop type="beds24.cart-item-booking-data" name="booking" cart_item_id=$ITEM_ID}
{intl l="Du %debut au %fin pour %adults adulte%s" debut={format_date date=$START_DATE output="date"} fin={format_date date=$END_DATE output="date"} adults=$NUM_ADULTS s=($NUM_ADULTS>1)?'s':''}
{if $NUM_CHILDREN > 0}
{intl l=" et %enfant enfant%s" enfant=$NUM_CHILDREN s=($NUM_CHILDREN>1)?'s':''}
{/if}
{/loop}
{/ifloop}
{/if}
{/loop}
{if $avecBooking != true}
{loop type="product_sale_elements" name="product_price" id={$smarty.get.pse_id}}
{if $IS_PROMO == 1}
{format_money number=$TAXED_PROMO_PRICE}
{format_money number=$TAXED_PRICE}
{else}
{format_money number=$TAXED_PRICE}
{/if}
{/loop}
{/if}
|