After talking with some of the WooCommerce people on Slack, I realized that the problem here is probably this pattern, in frontend/cart.js
– due to the fact, that my store uses the AJAX functionality that WooCommerce provides.
var show_notice = function( html_element, $target ) {
if ( ! $target ) {
$target = $( '.woocommerce-notices-wrapper:first' ) ||
$( '.cart-empty' ).closest( '.woocommerce' ) ||
$( '.woocommerce-cart-form' );
}
$target.prepend( html_element );
A default, new HTML element seems to be created and prepended to the wrapper when certain store states are met after an AJAX update.
Related Posts:
- Selective Product Category for Carousel
- Change WooCommerce add_to_cart Button Text?
- How to add custom metakey to shop_order page’s searching function?
- Which template file to edit to edit homepage in Mystile [closed]
- How to display custom field in woocommerce orders in admin panel?
- Apply jquery script to only woocommerce product pages and categories
- How can I add an extra WooCommerce hook
- How to customize search result page title?
- How to get the original price of the product in woocommerce?
- How to Acheive the custom woocommerce category template
- Hide some items from Screen options in dashboard for products
- Can I use require() function in a template file?
- How to set global variables in template page?
- Issue adding text after short description on product pages Woocommerce [closed]
- Dequeue script in template isn’t working
- Exclude Empty Child Categories in Menu
- Adjust which tempalte a page uses with a function?
- change billing and shipping address 1 and 2 field placeholders [closed]
- How to change menu icon which is overriden (i.e. by WooCommerce) [closed]
- Make “sidebar template” the default template for new pages
- woocommerce target button with class after ajax update
- Retrieve post modified date for specific post by post ID
- WordPress function for 1 to for many
- Attach parent category template to all subcategories
- Pass parameters to function through an action
- Add class or ID to any WordPress function
- change in form-checkout.php by using code in functions.php
- How to remove howdy dropdown menu content
- How to include local menu based on page id?
- Display Password Protected external RSS in wordpress template
- How to extract the variables out from “add_shortcode” function?
- Default Gallery Edit/Template Editable?
- Product Tags in Add New product as checkbox list [closed]
- Calling a function from anywhere, used in different places
- How to change login labels
- Modify a function without editing template
- I want to get product attirbute in the section below
- WooCommerce – Want to show multiple currency for a single product [closed]
- Load Woocommerce and WordPress Functions Outside
- Add to cart php not working [closed]
- When sale price is 0.00 show only regular price
- how can I edit flexslider in woocommerce. [Urgent]
- Functions For Calling Specific Elements
- Full page template function
- help I changed one currency in woocommerce and everything is ruined [closed]
- wordpress use single ajax in place of multiple ajax requests in a smarter way
- Add Element as a Filter to the_content
- I have problems with loading javascripts
- (Woocommerce) Order by price when entering specific category
- Need print logo without any ID & class
- Define PHP variable from a seperate API if statement
- attachment page template? only show attachments for current post?
- Create custom function for hero image
- add_filter to specific WooCommerce Category
- Woocommerce image sizes missing from Appearance › Customize but not declared by theme
- Image loading function not working on archive.php template
- Way to redirect all Product Sub Category to its Main category Page?
- Add Login/Logout Menu Item to Primary Nav “My Account” Submenu [Woocommerce] [closed]
- Delay a function, any function!
- Specify multiple categories for custom post template – FATAL ERROR
- How to make a new function that includes a template
- How add body_class from wp_termmeta
- Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy
- How to hide WooCommerce product title and short description to non logged in users?
- Render page with specific id from functions.php
- the_date() and the_time() functions display actual date an time instead of published date and time
- Load templates, pass arguments, and render output from functions.php
- localize_script but data changes dependent on product ID
- Show ‘Add to Cart’ on Out of Stock products
- Hide ‘add to cart’ when certain value in dropdown is selected
- removing description tabs – single product page – breaks footer
- Link product attribute value to a URL – woocommerce
- Remove text after a dot and a colon in Woocommerce product title
- Help with with my function for wordpress
- Problems adding a new field to product in cart
- Parent category as WOOCommerce Categories widget title
- Woocommerce Display Discount On cart
- Problem with my footer after changing WooCommerce Products Sorting [closed]
- Override plugin function to show invoices even if not logged in
- how can I change the read more link destinations and direct all to the same page?
- Woocommerce custom calculation function
- button to toggle css styling / div visibility?
- WordPress function with attribute pass to template
- Execute jQuery with custom event listener after successfully add an item to the cart
- Newest comments first not working
- Retrieve a custom form field modified by a filter
- us states dropdown function and echo in theme template files
- How to pass a variable from a template page to the child theme functions.php
- Function the_content
- Allow the access over wp-login.php
- Display post_meta-by_key on product catalogue
- How can i hide content if not friend in Buddypress? [closed]
- Woocommerce – Checkout error message
- Make a PHP file with a function
- Creating mixture of shortcodes to use in the visual/text editor
- “woocommerce_output_related_products” not working
- My website is generating weired url parameters of paginated pages
- woocommerce_sort_product_tabs() expects an array
- How to store page-{id}.php templates in custom folder
- Copy and Modified WooCommerce function is_coupon_valid [closed]