Home › Forums › WoodMart support forum › New Layout options – Cart and Checkout Layout page query, confusion and issue › Reply To: New Layout options – Cart and Checkout Layout page query, confusion and issue
harshwe
Hello Luke,
7.
The woocommerce_cart_coupon hook is responsible to show Coupons by default, this hook is also included in the “Cart table” element
a) OK, thank you.
However, it seems, in the “Cart Table” element the coupons hook might Not have been included, by the team. And probably is missing.
As the Cart Table element is already added in the Cart’s Layout page (from one of the presets), and coupons should show up. But unfortunately, they are not showing up.
https://i2.paste.pics/H8STO.png
b). Secondly, I could Not find the hook named woocommerce_cart_coupon anywhere inside the Woocommerce hook elements that you suggested earlier.
It is missing here – https://i2.paste.pics/H8E3B.png
I could not locate it. Can you please verify at your end too, may be I am missing something.
Can you please have this hook added into the available list of woocommerce hooks, in upcoming update.
c). Upon checking few of the available hooks, I found that below hook (from Woocommerce hooks element) is displaying the Coupons (from Smart coupons) on the Cart page (created using layouts section)
woocommerce_after_cart_table
https://i2.paste.pics/H8SP9.png
Can you please suggest and clarify further. May be you might have written incorrect hook name or by mistake. Or something else worked with your hooks list (or they have some iconrrect name)
PS: I have disabled that prev shortocde (that I was using to display the coupons).
Now enabled this hook (as in 7 c)) to show up the coupons
https://i2.paste.pics/H8SRX.png
Regards