I want to show product name in checkout page title.
Something like this: Checkout - Product name.
My woocommerce shop is set to sell only 1 product.
When client click to buy a product, he go directly to checkout page.
I know that this code from review-order.php show product name:
<?php echo apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item, $cart_item_key ) . ' '; ?>
But I dont know how to use it to show product name in checkout title.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire