X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Is there a way to up our prices accross the board by say 10% (https://forum.x-cart.com/showthread.php?t=6752)

PCGear 05-03-2004 09:04 PM

Quote:

Originally Posted by shan
heres a simple way to update a column in your database by 10%

Code:

UPDATE xcart_pricing SET price=price/100, price=price*110;

backup your database before you run this if you dont trust it

The first bit divides your price by 100 which will give you 1%

The next bit times it by 110 which gives you your original + 10% :wink:


Would
Code:

UPDATE xcart_pricing SET price=price/100, price=price*112.5;
add 12.5% ?

B00MER 05-03-2004 09:28 PM

:arrow: http://forum.x-cart.com/viewtopic.php?p=45650#45650


All times are GMT -8. The time now is 01:39 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.