WooCommerce Product Page Se Quantity Field Kaise Remove Kare?

WooCommerce Product Page Se Quantity Field Kaise Remove Kare?

Remove the Quantity Field from a WooCommerce Product Page – Rup Se WooCommerce me hame Product ki quantity select karne ka option dekhayi deta hai jiski sahayata se ham kisi bhi product jitni Quantity me chahe buy kar sakte hai.

lekin agar aap Apne Product page se Product Quantity Selector option ko Remove Karna chahate hai To Aaj Apko WooCommerce Product Page Se Quantity Field Kaise Remove Karne 3 Tarike batane ja Raha hu.

1. Product Data Metabox Option Ka Use Karke

WooCommerce Me Quantity Option Hatane ke liye, WordPress Dashboard me apne WooCommerce Product Page par Jaye. Product page ko Jaise hi aap Scroll down karte hai . Posr Editor ke baad apko Product Data metabox milega.

Phir Inventory me jaaye Aur Sold individually ke pass checkbox ko enable. Aisa karne se Ek Order me Rk Hi Product buy kiya ja sakte hai.

Jaise hi Saare Settings ho jaate hai page ko update kare, aap dekh payenge ki Product page se Quantity option hat Chuka hai.

Note: agar aap saare product me same setting karna chahate hai to apko saare product ko manually set karna hoga All Product page se quantity opton remove karne se liye Next Method Ko Follow Kare.

2. Using a Hook or Filter to Remove the Quantity Field

Alternatively And Free Way, WooCommerce Product page se Quantity Option remove karne ke liye aap theme’s functions.php file Me Ek code ko place karke bhi Product Quantity Option ko Remove kar sakte hai

Best tarika hai apne product page se Quantity Option remove karne ka ,But esme ek problem hai, jab bhi app Theme ko New Version se Update karte hai to ye Code functions.php file se Automatically Remove ho jata hai to apko Bar-Bar Code place karna padta hai.

function custom_remove_all_quantity_fields( $return, $product ) {return true;}
add_filter( 'woocommerce_is_sold_individually','custom_remove_all_quantity_fields', 10, 2 );

3. Using the WooCommerce Quantity Manager Plugin

WooCommerce Quantity Manager Plugin By Barn2 Ek powerful Plugin hai so agar app WooCommerce Product ko Manage karna chahate hai to ye Plugin best option ho Sakta hai, WooCommerce Site me Product Quantity ko manage karne Ke saare advance option apko es Plugin me mil jayega.

Plugin Fuctions :

  • Set global quantity rules and defaults throughout your store.
  • Set quantity minimums and maximums for specific categories.
  • Add minimum or maximum quantity rules for individual products.
  • Set quantity rules for individual product variations.
  • … and much more.

The WooCommerce Quantity Manager plugin Kuch Aur Bhi features Ke Sath Aata hai. Like: quantity step values (add interval-based quantities and multiples) and helpful errors and prompts (to guide your customer on their buyer’s journey).

WooCommerce Quantity Manager

  • ADVANCED QUANTITY RULES
  • PROTECT YOUR PROFIT MARGINS
  • DESIGNED FOR ALL INDUSTRIES

agar aap hamare bataye gaye steps ko follow karte hai to app Easly WooCommerce Product Page Se Quantity Field Kaise Remove Kar Payengeabhi bhi koi Dout ho to aap commect kare sakte hai, Aise hi Tutorial ke liye aap hamare Youtube Channel Ko Follow Kare.

A.s.patel

About the author

Hi , I am Ajay Singh Patel.
I am a web designer and content creator. Through my blog, I intend to create simple and easy-to-understand content that will teach you to start online journey !

Leave a Comment