skip to Main Content

shopify uninstall app webhook is not working

In my server.js file, I register the app/uninstalled webhook inside the afterAuth function like this: const response = await Shopify.Webhooks.Registry.register({ shop, accessToken, path: "/webhooks", topic: "APP_UNINSTALLED", apiVersion: ApiVersion.October20, webhookHandler: (topic, shop, body) => { //console.log(topic, shop,body); delete ACTIVE_SHOPIFY_SHOPS[shop]; }, });…

VIEW QUESTION

Cart Page is Empty When Item is Removed – Woocommerce

I wanted to design my own template for Cart Page when the cart is empty. I have added the below snippet to accomplish. add_action( 'woocommerce_cart_is_empty', 'custom_empty_cart_message', 10 ); remove_action( 'woocommerce_cart_is_empty', 'wc_empty_cart_message', 10 ); remove_action( 'woocommerce_cart_item_removed', 'action_woocommerce_cart_item_removed', 10); add_action( 'woocommerce_cart_item_removed', 'custom_empty_cart_message',…

VIEW QUESTION
Back To Top
Search