PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.1
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.1
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
merchant / templates / modules / complementary-products / admin-preview / cart.php

cart.php in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 2.3.1, at templates/modules/complementary-products/admin-preview/cart.php

60 lines 2.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5 ?>
6 <div class="merchant-cart-preview">
7 <div class="my-cart">
8 <div class="cart-title"><?php
9 esc_html_e( 'My Cart', 'merchant' ); ?></div>
10 <table class="cart-table">
11 <tr>
12 <th class="product-col"><?php
13 esc_html_e( 'PRODUCT', 'merchant' ); ?></th>
14 <th class="price-col"><?php
15 esc_html_e( 'PRICE', 'merchant' ); ?></th>
16 <th class="quantity-col"><?php
17 esc_html_e( 'QUANTITY', 'merchant' ); ?></th>
18 <th class="total-col"><?php
19 esc_html_e( 'TOTAL', 'merchant' ); ?></th>
20 </tr>
21 <tr class="cart-item">
22 <td class="product-column">
23 <div class="product">
24 <div class="product-image"></div>
25 <div class="product-info">
26 <div class="product-name"><?php
27 esc_html_e( 'Your Product Name', 'merchant' ); ?></div>
28 <p class="upsell-offer"><?php
29 esc_html_e( 'Add', 'merchant' ); ?></p>
30 <div class="upsell-product">
31 <div class="upsell-image"></div>
32 <div class="upsell-info">
33 <div class="upsell-name"><?php
34 esc_html_e( 'Product Name', 'merchant' ); ?></div>
35 <button class="add-to-cart"><?php
36 esc_html_e( 'Add To Cart', 'merchant' ); ?></button>
37 </div>
38 </div>
39 </div>
40 </div>
41 </td>
42 <td class="price-col">
43 <span class="original-price"><?php
44 echo wp_kses( wc_price( 16 ), merchant_kses_allowed_tags( array( 'bdi' ) ) ) ?></span>
45 <span class="discounted-price"><?php
46 echo wp_kses( wc_price( 12 ), merchant_kses_allowed_tags( array( 'bdi' ) ) ) ?></span>
47 </td>
48 <td class="quantity-col">
49 <div class="quantity-control">
50 <button class="decrease">-</button>
51 <input type="text" value="1" min="1">
52 <button class="increase">+</button>
53 </div>
54 </td>
55 <td class="total-col"><?php
56 echo wp_kses( wc_price( 300 ), merchant_kses_allowed_tags( array( 'bdi' ) ) ) ?></td>
57 </tr>
58 </table>
59 </div>
60 </div>