Tuesday, April 19, 2022

Decrease product price by 10% using SQL command in Woocommernce from Phpmyadmin

 Query-1:

UPDATE

   wp_wc_product_meta_lookup

SET

    min_price =(min_price - min_price * .13)

WHERE 1;

Query-2;

 UPDATE

   wp_wc_product_meta_lookup

SET

    max_price =(max_price - max_price * .13)

WHERE 1;

No comments:

Post a Comment

Resetting the DirectAdmin Password via SSH:

  Resetting the Password via SSH: Access the server as root:   Use an SSH program like PuTTY to connect to your server as the root user.   R...