Post by karadev » Thu Feb 14, 2013 12:54 am

hi, i have a question >> how to make at once modification in data base of tax for all products because i have so mach product that now need to use taxes , i need some sql code to alter in database for all product use my only one tax class

best regards

http://www.karadev.net
http://www.webshop.karadev.net


User avatar
New member

Posts

Joined
Mon Nov 29, 2010 9:31 pm
Location - Varna, Bulgaria

Post by welfordmedia » Thu Feb 14, 2013 6:20 am

Create your tax class that you want to assign to all products and get the ID from the database.

The SQL is

UPDATE product SET tax_class_id = '12345'

Change the ID to what you created.

TAKE A BACKUP OF THE DATABASE INCASE YOU MAKE A MISTAKE!!

An awesome Web Development company based in Leeds. E-Commerce Specialists by day, Geeks and Gamers by night

Tel: 0845 634 1838
Web: http://www.welfordmedia.co.uk
Twitter: https://twitter.com/welfordmedia
Facebook: https://www.facebook.com/welfordmedia


User avatar
Active Member

Posts

Joined
Thu Jul 21, 2011 5:59 pm
Location - Leeds, UK

Post by karadev » Sat Feb 16, 2013 11:03 pm

:ok: :ok: :dance: thanks men , it is great , i want to ask is if have a way to make a command like this for other options in opencart system to set up products , category , etc. properties of system

http://www.karadev.net
http://www.webshop.karadev.net


User avatar
New member

Posts

Joined
Mon Nov 29, 2010 9:31 pm
Location - Varna, Bulgaria

Post by Johnathan » Sun Feb 17, 2013 2:41 am

You could use Bulk Product Editing if you're often making these kinds of mass changes.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 47 guests