Search the Community
Showing results for tags 'calculation'.
-
Hello Guys, i do not know what I am doing wrong or if I understood the behavior wrong but the calculation is not working for me. I have a virtual product. I would like to set price 30€ per hour and minimal quantity for sale 4. Hence I expected that it will automatically calculate the product price to 30€. Then when I will add it to cart with quantity 4 i expected price 120€. But it has still 0€. Of course the price was not recalculated neither on Pricing tab of the product. Another problem with calculation I have when creating bundle product. Even if I have manually added there Retail Price, the bundled product price is still 0€. What I overlook with settings? I am using 1.7.5.1. Thanks and Regards Reddy
-
Hello presta friends in my project i have added new price field on product price tab. it is working great, and showing commission value per product in back office for order (See image > Ref 1). Now i want to show total order commission below Total order value (See image > Ref 2) multiply with quantity and that can be used in customer account. What should i do to do that now! Note: I have added commission field to price tab: <div class="form-group"> <div class="col-lg-1"><span class="pull-right">{include file="controllers/products/multishop/checkbox.tpl" field="wholesale_price" type="default"}</span></div> <label class="control-label col-lg-2" for="commission"> <span class="label-tooltip" data-toggle="tooltip" title="{l s='Re-seller Commission'}">{if !$country_display_tax_label || $tax_exclude_taxe_option}{l s='Re-seller Commission'}{else}{l s='Pre-tax re-seller commission'}{/if}</span> </label> <div class="col-lg-2"> <div class="input-group"> <span class="input-group-addon">{$currency->prefix}{$currency->suffix}</span> <input maxlength="27" name="commission" id="commission" type="text" value="{{toolsConvertPrice price=$product->commission}|string_format:$priceDisplayPrecisionFormat}" onchange="this.value = this.value.replace(/,/g, '.');" /> </div> </div> </div> added commission to PS_PRODUCT added coded on _product_line.tpl : <td> {($product.commission)} </td> HELP WILL BE GREATLY APPRECIATED 😍
-
Hi guys, I am currently digging into the world of Prestashop. I set up a shop and identicated an error. total_price_without_tax ist calcultated wrong. Shipping price needs to be substracted from total_price_without_tax. How do I do this? I appreciate any help! thx
- 1 reply
-
- total_price_without_tax
- tax
-
(and 2 more)
Tagged with:
-
Hey there! I'm trying to set up a prestashop for my [spam-filter] for several weeks now. Problem is, that she does have a bulk of combination (I'm trying to get it to max 3.000 per product because of the limits prestashop has) and the price calculation is tricky here. There are some attributes like "PAPER", "PRINTING_TYPE" and "ENVELOPE" which has a additive price impact on every single item, the "QUANTITY" should be selectable over a dropdown (25, 50, ..., 200) which multiplies the precalculated value and then a general price should be added for the creation and designing. There are a few other attributes with no price impact like "PAPER_COLOR" and "ENVELOPE_COLOR". So, the formular looks like: (Paper + Printing Type + Envelope) * Quantity + DesignCost Because I don't see a way to perform this calculation in the backoffice I've created a excel sheet which does the calculation for me. For one article it has around 2600 rows now, but the import always gets canceled (after taking 40 minutes for 31%). Does anyone knows a better way to do this calculation or getting the import working? I've imported smaller files before, but when it goes to around 100 combinations, the article is no longer editable and I'm getting a HTTP 500 error, so I only can delete the article and create a new one. Prestashop 1.7.2.4 with Leo_Leblanc_Theme
-
- calculation
- combination
-
(and 4 more)
Tagged with:
-
Prestashop 1.6.1.5 - we having wrong price calculations on some products and correct on the others. Is it a bug ? Any idea how to fix that? It is extremely frustrating and expensive one.
-
Hallo Leute, da jetzt ein paar Tage nix zur Post muss und ich dadurch ein wenig Zeit habe, meine "To do's" hervorzuholen, würde ich die Zeit jetzt gerne nutzen, um meine Grundpreiskalkulation zu optimieren. Worum geht es? Die Grundpreise müssen im 1.6 (ob es im 1.7 immer noch so ist, weiß ich nicht) händisch eingegeben werden. Also muss ich da jedes mal den Taschenrechner rauskramen und selbst ausrechnen, wieviel 100 ml (oder eben ein Liter) meines Produktes mit 420 ml Inhalt kosten, weil sonst ein arbeitsloser Advokat darüberstolpern und Einnahmen wittern könnte. Was habe ich bisher erreicht? Ich habe die Product.tpl geändert, so dass jetzt beim Grundpreis kein Geldbetrag mehr rein muss, sondern die Inhaltsmenge bezogen auf die jeweils gewünschte Grundmengenangabe, also z.B. 0.42 für eine Grundpreisangabe in Litern oder 4,2 für eine Grundpreisangabe in 100ml. Hierfür wurde aus (bei mir in Zeile 309 zu finden) {convertPrice price=$unit_price} {convertPrice price=$productPrice/$unit_price*(1+(1*$tax_rate/100))} gemacht. Die Übersetzungen im Kasten wurden entsprechend geändert, so dass das dann so aussieht: So, das funktioniert soweit ganz gut, der Taschenrechner kann in der Schublade bleiben und auch Kalkulationsfehler sind so ausgeschlossen, weiter muss man sich bei Preisänderungen keine Gedanken mehr machen, weil der Grundpreis dann automatisch neu berechnet wird... Soweit so gut, das ist schon mal entscheidend besser als in der Originalversion des Shops... Leider gibt es aber da noch einen kleinen Stolperstein... $productPrice ist der Preis, der oben beim Verkaufspreis angegeben wird, und das ist jetzt nicht so ganz glücklich, wenn man mit Mengenstaffeln oder Sonderpreisen arbeitet. Hier sollte also die Variable ersetzt werden durch den Preis, der oben im Kasten steht, also die aktuell gültige Preisangabe. Weiß jemand, wie diese Variable so in obige Berechnung zu kriegen ist? Ziel soll sein, dass der Grundpreis auch bei Sonderangeboten bzw. Staffelpreisen auf die Basis des jeweils zu zahlenden Preises korrekt angezeigt wird. Ich kann also jetzt zwar den Preis an sich ändern, aber bei Sonderpreisen, die z.B. automatisch beginnen und enden, funktioniert es nicht, ebensowenig, wenn man z.B. mit Mengen-Vorauswahl auf der Produktseite die Anzahl der Produkte setzt, die man in den Warenkorb legen will. Der Stückpreis im Preiskasten geht da zwar mit, aber eben nicht der Grundpreis, das würde ich gerne noch hinkriegen.
- 7 replies
-
- baseprice
- kalkulation
-
(and 4 more)
Tagged with:
-
Hi there I am trying to help a client move over to a new accounting system, but without having to change cart system. So I found an integration provider that could connect the new accounting system to the webshop. But the integration provider stops orders with wrong tax calculation (wich they should), but this problem is a bit unique: When Prestashop calculates the tax of the shipping, wich in my case is 25%, it rounds the total incl. tax. How it should look: 199 * 1.25 = 248.750000 What Prestashop calculates: 199 * 1.25 = 249.000000 And that in turn gives a wrong total that the customer is paying. They should be paying: 3,112 * 1.25 = 3,890.000000 But they end up paying 3,890.250000 Does anyone know which file and/or line that rounds the shipping price, or have any suggestions to how else I could solve this? Thank you.
- 6 replies
-
- solved
- problem solved
-
(and 8 more)
Tagged with:
-
Hello, I need to find a way to have the price to pay independent from the quantity ordered (price to pay = unit price). By the way the user still have to input a quantity (from 1 to 9999). Can anybody help me. I don't have any idea where to modify the code to fix that. Thanks in advance
-
Hello, we do not sell digital products. So we do not have to pay the taxes from the different countries in the EU we send the goods. But we have another special setup: There are 3 warehouses in our shop - one in Germany and two in Austria. When goods pass a border physically then for B2B orders there are no taxes at all when selling B2B. So, for example: 1.) Byer: Company in Austria Seller: Company in Austria (Shop Owner) Warehouse: Austria --> Is a B2B order, but 20% tax have to be calculated (because no border crossed) 2.) Byer: Company in Austria Seller: Company in Austria (Shop Owner) Warehouse: Germany --> Is a B2B order, but 0% tax have to be calculated (intra-Community supp) 3.) Byer: Company in Germany Seller: Company in Austria (Shop Owner) Warehouse: Austria --> Is a B2B order, 0% tax have to be calculated (intra-Community supp) 4.) Byer: Company in Germany Seller: Company in Austria (Shop Owner) Warehouse: Germany --> Is a B2B order, but 19% tax have to be calculated (because no border crossed) Now the problem: Taxes are not calculated in dependance of the warehouse and if borders are crossed or not. Taxes are just calculated in dependance of Byer Address <-> Seller Address. But that is not correct. Thank you, best regards, Andreas Huber
- 5 replies
-
- tax
- tax calculation
-
(and 3 more)
Tagged with:
-
Hi All We need someone to fix the incorrect tax calculation on our online shop. Some orders have the correct calculation and some are a few cents off. I assume it has to do something with the way Prestashop is rounding the numbers. Let me know if you can assist! Thanks PS v1.6.0.9
-
Is there some module out there (paid or free) which would let me create a product which a customer would then customize. It would then calculate a price depending on the customizations. The customer would also need to upload some artwork. I know what you're thinking, no, it's not a t-shirt and coffee mug web site! It's actually a site for custom printed circuit boards. But maybe a module for custom t-shirts would work though. What I imagine is the customer would first choose a particular board product, then they would be presented with a form to fill in which would ask questions like size, number of boards...etc. It would calculate the total cost. If the user wanted to proceed, they upload the artwork in the checkout and pay for it. Behind the scene, perhaps a special product gets created in prestashop that only this user can see so that they an come back and buy more later if they need. Is there some module out there that lets me create a customizable product like this? Or is so complex that a custom module will need to be developed?
-
Hello I have a problem with my invoices on my shop. The tax rules works fine for the page itself, but for the invoices i have 2 issues: Major issue is that Total tax (over total price) includes the total shipping cost. example: Products Total (without tax) 638,40 DKK Products Total (with tax) 798,00 DKK Shipping cost 100,00 DKK Tax total 259,60 DKK (This should be 159,6) total 898,00 DKK Problem 2 is the taxdetails show tax times 2 when 2 of the same product is added The taxrule (momssats) is 25% and this is showing on all invoices that does not have double items. Total view is shown here:
-
hello In my prestashop 1.6 I have given 10 $ ecotax on product demo_2 as tooltip says that this ecotax already included in product price so why at checkout page its include another 10 $ in total as tex...? as i have attech images.
-
- ecotax
- calculation
-
(and 4 more)
Tagged with:
-
Hey guys, I have a big problem and hope someone can help me with it: I have a product, for example, with a minimum quantity of 5 pieces. Every piece cost about 100€. If the customer opens this product, it directly shows 500€ for the 5 pieces. Thats perfect so far. If this product has an option, and the customer changes this option, the price switches to 100€ and the quantity field still shows 5 pieces. Now it looks like 5 pieces cost 100€ but the option didn´t changed the price. If the customer changes the quantity it shows the right price again. But the customer has to change it once. I hope anybody can help me with this problem. If it´s a big deal to program this, it won´t be for free. Details and links to show the problem, by PM. Thanks so far... Shad
- 2 replies
-
- price
- calculation
-
(and 1 more)
Tagged with:
-
Hi I'm a web developer in Southern California. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Special Calculation I'm not sure if this is possible. I'm trying to set up a custom calculation for the flooring industry it is calculating so many square feet per box. Each type has different square feet per box the flooring is sold by the square foot (say $1.99) if you need 100 square feet it needs to figure out how many boxes will be needed with a 5% waste factor >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The curent site was built in Magento my client is thinking about migrating to Presta Shop >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I work with media creation and I have been active in the Joomla Community – I just found out about this project. Being an Open Source fan this looks like a happening project.
-
- Calculation
- product
-
(and 1 more)
Tagged with:
-
Hello, Heads up for 1.4.11 users (since development has stopped): There's a major bug in PS 1.4.11 which causes price calculation errors if you display prices with tax. When calculating price with tax, taxes are added to the already rounded tax-free price. (This causes erroneus prices in i.a. order confirmations and invoices) Solution: /classes/Order.php switch line #446 and #447 i.e. $row['product_price_wt'] = Tools::ps_round($row['product_price'] * (1 + $row['tax_rate'] / 100), 2); $row['product_price'] = Tools::ps_round($row['product_price'], 2);
-
- round
- calculation
- (and 4 more)
-
My e-commerce website runs on Prestashop (version 1.3.7.0) as the shopping cart system. When I tested the shopping cart (without logging in) I'm finding that the tax amount calculated is incorrect. I tested this by logging in as a test user and all was fine. So it only seems to happen for those who are not logged in. As an example. I have a product which sells for £7.92 +VAT (20% tax). The postage is £1.00 (no tax). The shopping cart calculates the tax as follows:- Subtotal (excl vat): £7.92 Total Delivery Charges: £1.00 Total (excl vat): £8.92 Total vat: £2.08 Total (inc vat) £11.00 The correct calculation is supposed to be:- Subtotal (excl vat): £7.92 Total Delivery Charges: £1.00 Total (excl vat): £8.92 Total vat: £1.58 Total (inc vat) £10.50 For my shipping services 'tax' is not enabled. When I change the way prices are displayed for all customer groups so that prices are displayed 'Tax Included' then all is fine. However, I wanted to display prices excluding tax and it is here where problems occur and the calculations are wrong unless customer is logged in. I'm afraid that those who are not registered as customers will see wrong price calculations and will be put off from using the site. Any help with this is much appreciated.
-
Hi all, I'm using PS 1.5.3.1 and I'm wondering: is there a way to tell the Canada Post Rates Calculator module to obey certain settings enabled at CPC SellOnline? Specifically, the "insurance activation" and "signature requirement" amount settings (they disable certain services when $XX order value is reached). My new shop isn't live yet (local host), and from what I can tell, unlike my currently live osCommerce shop, those insurance & signature settings are being ignored. Maybe they will be applied once the site is live, but I somehow doubt that going live will make any difference (although maybe someone can confirm if they work in a live shop?). I realize it's possible to set carriers by price range in Prestashop rather that weight range, however unfortunately with some of the carriers I need to use, I absolutely have to go by weight range. Sure wish you could set some services to weight range and some to price range, but you can't - you have to use one system or the other, period. :/ Thanks in advance! Elaine
-
I created a negative voucher according to a different topic here. Now my problem is this, the voucher is basically a charge for credit card usage (the charging fee of the payment gateway system) and I want it to calculate the value after all the regular discounts have been implimented. this is what i aim for: initial price = $3000 discount vouchers value = $1000 Charging fee = $2000 * 3.5% final price = $2070 This is what I have at the moment (default usage of vouchers): initial price = $3000 discount value = $1000 + (-3.5%) => $895 charging fee = (already calculated in the discount value) final price = $2105 I know that in total the outcome is good for the seller, the problem is that customers are not stupid and will figure out sooner or later that this is a fishy way to make additional profit. Anyone knows how to change the way that the voucher are calculated in such a way that the negative vouchers (the added cost, since it's a double negative) that is always a percentage will be calculated only AFTER the total price has been summarized with the normal discount vouchers. Thanks.
-
I've seen a lot of bug report regarding "Tax Calculation" I'm unable to find a solution. Round mode is set to "Classical" Item price ...CAD $149.98 Total Tax.....CAD $ 20.25 The right calculation should be: [TPS (5%)] = $7.5 (149.98 + 7.5 = $157.48 [TVQ (8.5%) = $13.4 (157.48 + 13.4 = $170.87 so with the Price + TPS & TVQ i should get a total of $170.87 but as you can see on the attached file the total is $170.23 that's a discrepancy of $0.64 That hurts bad please help.
- 1 reply
-
- tax
- calculation
-
(and 2 more)
Tagged with: