Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

woocommerce-offtopic

Pass values to ajax

Pass values to ajax

Categories woocommerce-offtopic Tags ajax, woocommerce-offtopic

What is the meta_key for woocommerce discount amount?

What is the meta_key for woocommerce discount amount?

Categories woocommerce-offtopic Tags woocommerce-offtopic

Parameters in woocommerce_before_add_to_cart_button hook

Parameters in woocommerce_before_add_to_cart_button hook

Categories woocommerce-offtopic Tags actions, hooks, woocommerce-offtopic

Add username and password section in WooCommerce’s my account page

To show the password field on the registration page, you’ll want to uncheck/deselect this: https://i.imgur.com/t74URri.png

Categories woocommerce-offtopic Tags woocommerce-offtopic

Custom pagination permalink structure Product page

Custom pagination permalink structure Product page

Categories woocommerce-offtopic Tags comments, pagination, permalinks, woocommerce-offtopic

Woocommerce Disabling Auto Restocking for Cancelled Orders

I’ve received my answer from Woocommerce support. It’s working like a charm: add_action( ‘after_setup_theme’, ‘my_stop_cancelled_restock’, 0 ); function my_stop_cancelled_restock() { remove_action(‘woocommerce_order_status_cancelled’, ‘wc_maybe_increase_stock_levels’); }

Categories woocommerce-offtopic Tags hooks, woocommerce-offtopic

How to get cookie value?

Because my reply is too long to be a comment, so I write it as suggested methods instead. Method 1 In my project, I use ajax to set cookie with php built-in setcookie() function and cookie variable $_COOKIE, I did not add them in any hook and residing in its own class, any actions calling … Read more

Categories woocommerce-offtopic Tags cookies, woocommerce-offtopic

Apply CSS to certain product thumbnails only

Can you just specify a new class when you create those thumbnails, and style accordingly? If this is what you want to do: You need to grab every element that has the [data-id] attribute into an object array var ids = document.querySelectorAll(“[data-id]”); Then you need to iterate over them, and check the value: ids.forEach((el) => … Read more

Categories woocommerce-offtopic Tags css, woocommerce-offtopic

How to add woocommerce product price filter widget to other page

you can require the price filter template from where ever you want go inside your woocommerce template folder and copy plugins/woocommerce/templates/content-widget-price-filter.php to your yourtheme/woocommerce/content-widget-price-filter.php and then require it in the your file

Categories woocommerce-offtopic Tags filters, woocommerce-offtopic

How do I disable “Flat Rate” radio button and remain with other shipping method in woocommerce

You need to modify the values of these below variables of your code- // HERE define your shipping class to find $class = 92; // HERE define the shipping method to hide $method_key_id = ‘flat_rate:7′; Though the author of source answer clarified how to get these above things in the answer, here I’m putting these … Read more

Categories woocommerce-offtopic Tags woocommerce-offtopic
Older posts
Newer posts
← Previous Page1 … Page86 Page87 Page88 … Page225 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress