Sedang Disiapkan

OpenCart Mod: Need to Modify Invoice and Cart Calculation

Need to modify "Add to Cart" function in OpenCart so that items can be added to the shopping cart only if the selected option value has a price greater than 0. An additional field was created called "list price" and the base price was set to 0 for all products to avoid adding option prices to a base price. For example, before adding the field "list price" if a product had a base for of $10 USD for an indiviual item and an option price of $40 for a case of 4, then selecting the option for a case of 4 resulted in adding the $40 option price to the base price of $10 for a total of $50. But the true price should only be $40. In order to maintain a correct total price, the displayed price is the newly added "list price" and the base price was changed to 0 so the calculation in the above example is $0 base price + $40 option price and is now correct. The problem is that you are able to add an item to the cart with the default option value "Select.." with an option price of 0. The result is a product is added to the cart with a price of 0. In order to correct this, a conditional statement is needed so that an item can be only added to cart if the option value is greater than 0.

I would also like to have the invoice display modified for both the customer and in the admin panel so that only selected options are included in the invoice instead of all available options.

You can view the site at [url removed, login to view] to see how it is currently configured.

Kemahiran: eDagang, HTML, PHP, Troli Membeli-belah, Reka Bentuk Laman Web

Lihat lebih lanjut: opencart modify invoice, function add cart opencart, opencart add invoice field, opencart modify add cart, modify invoice opencart, opencart add cart calculation, add value invoice opencart, view cart design, statement problem example, problem statement example, design shopping cart php, conditional design, problem statement, example problem statement, opencart add field invoice, opencart invoice field, php opencart, php invoice, opencart, opencart product, opencart php, opencart design, invoice, invoice example, opencart adding products

Tentang Majikan:
( 19 ulasan ) Smyrna, United States

ID Projek: #1529957

Dianugerahkan kepada:


hi there Please check pmb Regards Shambhal

$50 USD dalam 2 hari
(131 Ulasan)

4 pekerja bebas membida secara purata $201 untuk pekerjaan ini


Hi! I am really interested in taking up the project. I have the requisite experience and the expertise to complete this project with success. Please view my PM for details. Thanks. Regards. GLOBAL TECHNOSYS

$350 USD dalam 3 hari
(176 Ulasan)

hi, i can help for you. pls check your pmb for more detail. thanks.

$255 USD dalam 10 hari
(81 Ulasan)

Hi, lest start with Professional eCommerce Solutions provider

$150 USD dalam 5 hari
(1 Ulasan)