Skip to content

Instantly share code, notes, and snippets.

@starckio

starckio/cart.php

Last active Aug 20, 2017
Embed
What would you like to do?
The Params :)
<?php snippet('header') ?>
<?php if($count > 0): ?>
<main id="cart" class="main cf" role="main">
<?php if(param('checkout') == 'cheque'): ?>
<!-- Formulaire -->
<?php else: // Param ?>
<!-- Panier -->
<a class="btn-paypal cheque" href="<?php echo $page->url() ?>/checkout:cheque">Payer par Chèque</a>
<?php endif // Fin Param ?>
</main>
<?php else: // Count ?>
<main id="cart" class="main black" role="main">
<!-- Panier vide -->
</main>
<?php endif // Fin Count ?>
<?php snippet('footer') ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment