Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (class_exists('wpCheckout')) {
- // Initialize an object of the class
- $wpCheckout = new wpCheckout();
- //parameters for the widget (see details below)
- $parameters = array(
- 'show' => "normal",
- 'hide_when_empty' => 0,
- 'enablecoupons' => "N",
- 'shlink' => "N",
- );
- // Output the shopping cart widget
- // Use 'show' => "minimal" to display just the total
- $wpCheckout -> widget('cart', $parameters);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement