Post by pappco » Thu Nov 08, 2012 8:16 pm

This little extension is useful for those who have their product prices in gross prices. It adds a new line to the product edit page, under "Data" tab, where you can enter the gross price, and it calculates the net price. If you enter net price, the gross price will be calculated. If you change the tax class, gross price will be recalculated.

Please note: It is possible the calculator will return different values than the store frontend, because it is calculating with all the rax rates within the selected tax class, and it is ignoring the geo zone and the address based on. The gross price won't be saved, it just a helper that makes easier entering prices.

The mod can be found here: http://www.opencart.com/index.php?route ... on_id=9229

---------------------------
Gross Price Calculator
version 1.2
written by Tamás Késmárki - Pappco.hu
---------------------------

Features:

- Makes easier to enter prices.
- If you enter a value to price line, gross price will be calculated.
- If you enter a value to gross price line, net price will be calculated.
- If you change the tax class, gross price will be recalculated.

Notes:
- Gross price will not be saved.
- It is possible the calculator will return different values than the store frontend, because it is calculating with all the rax rates within the selected tax class, and is ignoring the geo zone and the address based on.

Support: opencart@pappco.hu
Admin demo: http://demo.opencartgeek.com/admin/ (demo/demo)

Prerequirements:

- vQmod (2.2.0)

Update:

- Connect using a FTP program to your hosting/server account and browse the root of your OpenCart installation folder.
- Upload the folders, "admin" and "vqmod" to OpenCart's root folder. If you get file replacement warnings, double check to make sure you are not replacing any critical files (if you had an older version of the modules already installed, you will need to replace the old files).
- Enter OpenCart's administration menu. Go to System > Users > User Groups. Select the desired User Group, and give permission to file "tool/price_gross.php".
- Edit a product, and on the "Data" tab, the "Price Gross" line will show.

Installation:

- First you need install vQmod (http://code.google.com/p/vqmod/)
- Extract the downloaded archive
- Connect using a FTP program to your hosting/server account and browse the root of your OpenCart installation folder.
- Upload the folders, "admin" and "vqmod" to OpenCart's root folder. You should not get any file replacement warnings. If you do, double check to make sure you are not replacing any critical files (if you had an older version of the modules already installed, you will need to replace the old files).
- Enter OpenCart's administration menu. Go to System > Users > User Groups. Select the desired User Group, and give permission to file "tool/price_gross.php".
- Edit a product, and on the "Data" tab, the "Price Gross" line will show.

Compatibility:

This version is tested with OpenCart 1.5.6.*, 1.5.5.*, 1.5.4.*, 1.5.3.*, 1.5.2.*, 1.5.1.3

Non-English users:

The english translation file is located at "admin/language/english/catalog/price_gross.php"

Version history:
1.2 (20130425):
- fixed wrong calculations caused by javascript, the calculation is made with ajax now
Files affected:
- vqmod/xml/price_gross.xml
- admin/controller/tool/price_gross.php (added)

1.1 (20130205):
- updated to work with opencart v1.5.5.*

1.0 (20121108):
- initial release

Screenshots:
Image

New member

Posts

Joined
Sat Jul 14, 2012 6:33 pm
Who is online

Users browsing this forum: No registered users and 8 guests