Page 1 of 1
[vQmod] Add cost price to product on 1.5.x
Posted: Thu Dec 01, 2011 3:45 am
by Melon
This is my first contribution..
In 1.5.x the cost price was removed.
It will probably be superseded by the new version but currently works with 1.5.1.3.
Run sql command - BACKUP BEFORE (only if you dont have `cost` in your table - I did cause i upgraded from 1.4.9)
ALTER TABLE `product` ADD `cost` DECIMAL( 15, 4 ) NOT NULL DEFAULT '0.0000'
Any problems or features need adding ill do my best!
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Thu Dec 01, 2011 7:47 pm
by Melon
few downloads no feedback ?
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Thu Dec 01, 2011 10:02 pm
by cwdeek
Hi Melon,
I uploaded and seem to have a problem when it comes to saving the product in admin. It just directs to white screen and goes nowhere.
I've been looking for cost price to be added as its a field i really miss.
Let me know your thoughts.
Cheers
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Thu Dec 01, 2011 10:11 pm
by Melon
done the sql change ?
bare in mind if you have a prefix dont forget to add it in
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Thu Dec 01, 2011 10:35 pm
by cwdeek
sql change was not needed as I like you upgraded from older version the cost field shows no problem. Its when i click save not the product admin page it directs to white screen.
no prefix to add.
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sun Dec 04, 2011 4:53 am
by Melon
check vqmod error log or even php/apache error log and see what error is produced
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Wed Dec 21, 2011 7:41 am
by cwdeek
Sorry about delay in replying i've fixed it now looks like table entry was wrong.
Cheers
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Dec 24, 2011 10:54 am
by johnnet
i've downloaded your xml file, but i no nothing about vqmod, can you please guide me the steps? thank you.
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Dec 24, 2011 6:48 pm
by webvet
johnnet wrote:i've downloaded your xml file, but i no nothing about vqmod, can you please guide me the steps? thank you.
Firstly you need to download vQmod from here
http://code.google.com/p/vqmod/ (the current version is vqmod-2.1.5-opencart.zip)
Then install it following the instructions here
http://forum.opencart.com/viewtopic.php ... 42#p196942 in the section
How do I use it? in the first post.
Then place the xml file you have downloaded into your newly created
www.yourstore.com/vqmod/xml folder and reload your admin and the new changes should be there!
ps you need to run the db query as outlined in the original post on this thread
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Dec 24, 2011 11:27 pm
by johnnet
Thanks for the guide & help, i will try it out.
Merry Christmas

Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sun Dec 25, 2011 2:50 pm
by johnnet
Feedback:
Same as cwdeek, after click save, it show just white screen & the cost price did't save. one more question, may i know where to see profit report? i like your Vqmod so much

hope to see fixes soon. tq.
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Jan 14, 2012 1:19 am
by frilioth
Melon
Works a treat. Great vQmod.

Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Jan 14, 2012 4:32 am
by Melon
Thanks

Re: [vQmod] Add cost price to product on 1.5.x
Posted: Thu Jan 19, 2012 8:13 am
by EverythingHotTub
johnnet wrote:Feedback:
Same as cwdeek, after click save, it show just white screen & the cost price did't save. one more question, may i know where to see profit report? i like your Vqmod so much

hope to see fixes soon. tq.
Yeah, where can I find the profit report after I have finished installing this?
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Tue Jan 24, 2012 3:04 pm
by hbg
I wish all the cost were not blanked out when I upgraded. This would be handy for an ordering module with Min/Max values.
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Fri Mar 23, 2012 11:40 pm
by Garret H
Can someone please post an updated version for this to work with 1.5.2.1? It works, however there is an error tag at the top of the screen.
Thanks,
Garret
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sat Mar 24, 2012 4:44 pm
by Melon
Im not running 1.5.2 yet.. post the error here and ill see if i can correct it..
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Sun Aug 26, 2012 3:12 am
by lewys
Any updates for 1.5.3.1?
Re: [vQmod] Add cost price to product on 1.5.x
Posted: Fri Oct 26, 2012 10:22 am
by Saile
does not work on 1.5.4.1