Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Is there a way to up our prices accross the board by say 10%

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 05-03-2004, 09:04 PM
 
PCGear PCGear is offline
 

Member
  
Join Date: Oct 2003
Posts: 17
 

Default

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%

Would
Code:
UPDATE xcart_pricing SET price=price/100, price=price*112.5;
add 12.5% ?
Reply With Quote
  #12  
Old 05-03-2004, 09:28 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

http://forum.x-cart.com/viewtopic.php?p=45650#45650
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:57 AM.

   

 
X-Cart forums © 2001-2020