Solved

Opencart. price with the tax

Posted on 2011-09-17
2
2,113 Views
Last Modified: 2012-06-21
Hello,
im new to opencart and php.

The default option in the opencart is like this: when i creat a new product i have to give the price without the tax and the system calculates the increase on the price (for example 20% tax). is it possible to give the price with the tax and the system calculates automatically the the price without tax??

and then its been shown like in the image i have upload .

thank you
2.jpg
0
Comment
Question by:kensy11
  • 2
2 Comments
 
LVL 13

Accepted Solution

by:
Hugh McCurdy earned 500 total points
ID: 36555373
Your answer might be here http://forum.opencart.com/viewtopic.php?t=11285

"When entering your products you can enter as Gross ( eg with tax ) and it will back calculate the net ( before tax price ) or if you enter that price then it to forward calculate the gross price"
0
 
LVL 13

Expert Comment

by:Hugh McCurdy
ID: 36555380
As OpenCart is open source, you have the source code.  But as you are new to PHP and since this is e-commerce, I strongly suggest you do not attempt to learn PHP by modifying your shopping cart.

If you want to learn PHP for other reasons, I suggest http://www.w3schools.com/php/
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maybe no no httpd.conf 6 47
Attach to file (img) a unique id 8 27
Decrypt string by php 7 31
Show tab when enter div and change underline color 3 34
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question