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
  #1  
Old 03-18-2004, 07:02 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

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

I was wondering if there's a way I can up the price on every product by say 8% to 10% for a certain group. Is this possible? Thank you.
Reply With Quote
  #2  
Old 03-18-2004, 09:59 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Not without some kind of custom mod to do such.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 03-18-2004, 10:45 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Could it be done via the DB?
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #4  
Old 03-18-2004, 11:29 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

You could but it would be one helluva SQL query.

basic jest:
SELECT prices INSERT prices+%

__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 03-18-2004, 11:54 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

PHP script would be useful for that kinda stuff.

Hrrrm *puts thinking cap on*
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #6  
Old 03-18-2004, 12:05 PM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

Do I smell yet a new MM add-on....
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #7  
Old 03-21-2004, 08:51 PM
  Dmitri's Avatar 
Dmitri Dmitri is offline
 

Senior Member
  
Join Date: Jul 2003
Location: Toronto
Posts: 174
 

Default

I can share script that does exactly that but it's done on ColdFusion, which probably won't be much help for most of you (I host my xcart on hybrid platform, so I have support of all Windows things as well as Unix i.e ColdFusion, PHP, ASP, MySQL, MSAccess etc...) all at the same time...
__________________
CartTemplates | ASF Design Inc
~~~
CartTemplates.com | XCart Design - Custom design or Choose from thousands of templates that can be integrated with X-Cart.
tel: +1 (416) 410-9995
Reply With Quote
  #8  
Old 03-24-2004, 09:30 AM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default Idea

Simply export your catalog to a CSV.

Open it in Excel.

Increase the prices by 10%.

Save it as a CSV file.

Then import it back in.

Hope that helps.
Reply With Quote
  #9  
Old 03-24-2004, 09:43 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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%
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #10  
Old 03-24-2004, 05:53 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Thanks everyone, it's very appreciated (was gone for a few days). Thanks again!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:14 PM.

   

 
X-Cart forums © 2001-2020