cart

Changing the 'Shipping' text in WooCommerce cart and checkout pages: [duplicate]

烂漫一生 提交于 2020-08-25 03:46:34
问题 This question already has answers here : How to change WooCommerce text shipping in checkout (4 answers) Closed 2 years ago . I'm using WooCommerce with the Storefront theme and I'm trying to alter the word "Shipping" on the basket page with totals. I found some advice here: https://kriesi.at/support/topic/change-shipping-text-to-delivery-on-checkoutcart/ However, they mention it might require custom work to do this. Can anyone please advise? Paul 回答1: Add this hook in function.php add_filter

Disable item name link for specific product in Woocommerce cart checkout and orders

﹥>﹥吖頭↗ 提交于 2020-08-23 07:59:28
问题 I'm looking to disable the product link to the product page of a specific product in the cart. This product is a gift product automatically added to the cart when the cart subtotal amount equals a particular value. I know it's possible to do this with all the cart items. But I'm not quite sure on how to target a specific item. 回答1: New answer that works for all product types for an array of defined products Ids, here: Disable item link for specific products in WooCommerce cart checkout and

Show SKU on cart and checkout pages in Woocommerce 3

混江龙づ霸主 提交于 2020-08-22 06:40:07
问题 I would like to display SKU on cart (Under product column ) and checkout page. I searched SO, but all answers are for old versions of WooCommerce and non of them is for 3.x. How can I show SKU on cart and checkout pages in Woocommerce 3? 回答1: 2020 Update: How display product SKU directly under item name in WooCommerce? You can do it with a custom unction hooked in woocommerce_cart_item_name action hook, this way: add_filter( 'woocommerce_cart_item_name', 'showing_sku_in_cart_items', 99, 3 );