Shopping cart contents template

Outer template (Shopping cart contents)

<ul class="list-group" id="shopping-cart"> $(reservations) </ul> <h3>$(S_TOTAL): $(cart_total)</h3>
This template lets you specify the HTML code which will be printed once for the shopping cart contents. The template must include the $(reservations) tag which will be replaced with all the items in the shopping cart (this is controlled by the inner template below). Other special tags you can use are:
$(cart_total) -- total price of all items in the cart, $(cart_item_count) -- number of items in the shopping cart, $(empty_cart_url) -- URL to empty the entire shopping cart, $(coupon_info) -- when the site is using coupons, shows info about possibility of coupon usage for the shopping cart rentals, $(cart_coupon_count) - shows number of coupons used in the shopping cart, $(cart_coupon_amount_left), $(cart_coupon_amount_used) - print information about the coupon used in the shopping cart (the first one if multiple are used), $(cart_total_after_coupons) - the total price of all items in the cart after any coupons are applied. Note that the coupons are applied on checkout (the next reservation step) and their balance can change till then. For this reason, the actual outstanding price after checkout can sometimes differ.
$(cart_deposit) - Deposit to be paid for the entire cart (pre-payment amount)
$(apply_first_added_reservation_tags), $(apply_last_added_reservation_tags) - using these tags you can use the rental tags explained in FAQ Q204. These tags will come from the reservation added first/last to the shopping cart.

The template can also use general tags (how to use tags?). Please see the following FAQ questions for a detailed tag list:
Tag playground
Conditional printing of texts
Universal tags
Site data

Inner template (Inkopiemandjie items)

Here you can choose how each individual shopping cart item will be inserted into the cart contents (outer template).
<li class="list-group-item cart-item"> <div class="row"> <div class="col-xs-7 col-7 resource-contents"> <div class="resource-thumbnail"> $(if) $(square_image_url1) $(then) <img src='$(square_image_url1)' class='img-thumbnail img-responsive image_square' /> $(endif) </div> <h4 class="resouce-name"><a href='$(url)'>$(name)</a></h4> <p class="lead">$(rental_time)</p> $(if) $(quantity) greater than 1 $(then) <p class="lead">$(S_QUANTITY): $(quantity)</p>$(endif) </div> <div class="col-xs-5 col-5"> <h4 class="price">$(S_PRICE) : $(price_quoted)</h4> <div class='action-buttons'><a class='btn btn-danger' role='button' href='$(remove_url)'><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> $(S_REMOVE)</a></div> </div> </div> </li>
This template will be used once for each item in the shopping cart. Special tags you can use are:
$(price) -- item price
$(remove_url) -- URL which the client can access to remove given item from the shopping cart.

The template can also use general tags (how to use tags?). Please see the following FAQ questions for a detailed tag list:
Tag playground
Conditional printing of texts
Universal tags
Site data
Resource data
Reservation data
Edit template in WYSIWYG editor
Reset Import from scheme backup Preview
Related templates:  Shopping cart template   Checkout template