my question is how do i add an additional fee to the totalprice of the Prestashop 1.7 cart.
how can i do it?
the additional fee have to be everywhere -> invoice (extra row before shipping), the order history page, confirmation email.
can someone help me?
You should use "handling charges" field in Shipping > Preferences.
Related
I know enough about programming to tinker a little, but MVC models are still baffling to me. I need a way to have the checkout total include the cost of taxes, but I do not want the product price to include the price of taxes. The tax amount already shows as a line item, but when I use the "tax incl" method it changes the product price and gives me a total that does include tax. On the other hand if I use the "tax excl" method, the product price is correct but the total does not include the tax. Example pictures attached PS version 1.7.3.2
[Tax excl image] https://i.stack.imgur.com/aYlsE.png
[Tax incl image] https://i.stack.imgur.com/NWIta.png
I did following and it works for me in prestashop 1.7.5.0:
To do so, we must edit the file:
themes/classic/templates/checkout/_partials/cart-summary-totals.tpl
and add this code where you want to show the total of the cart:
{$currency.iso_code}{$currency.sign}{$cart.totals.total.amount+$cart.subtotals.tax.amount}
I have a prestashop 1.6 web.
I have this product, with a price of 19€. The product page is showing the correct price.
http://batavia.es/es/escuadra-y-cartabon-2395.html
But the price is 0 in the category page:
http://batavia.es/es/unisex-116158?p=2
I have this problem only with this product. I have checked the product in admin panel, and it seems correct. The product have not discounts or specific prices. I have debugged the php object, and it has the price attribute to 0.
Anything that I can try?
Thanks.
The product price can be fetched using the getPriceStatic() function in Product.php class file, you can try debugging this function for the product which is causing the issue.
You might be able to find the problem with that product.
When you use Sylius, all prices displayed without taxes. In the checkout flow, you see the amount of taxes that is added.
Is there an option to activate to always include the VAT in all views?
Including/excluding vat into price is defined with tax.
So if you want to display prices (in public pages) with taxes:
Go to administration
Go to "Tax rates"
Edit tax rate, that is used with your products
Check "Included in price?"
Reset cache (app/console cache:clear --env=prod && app/console cache:clear --env=dev)
Sorry for asking this here, on Prestashop forum I dont get any replays. And sorry for my english.
In order to explain my problem I will make a simple example:
product "X product" in stock are 10 items. (quantity = 10)
when some one adds one item to card and purchase it, i think it is logically that quantity will become 9.
on my website it remains 10. Why?
Or at list the quantity must change when order become FINISHED/ APPROVED...
Who can give me some tips how I must configure my prestashop in order to achive the wanted result?
Your shop may be in the mode digital product management.
Here is a possible answer. Go to your backend > Preferences > Products.
Scroll down to the end of the page. In the group of configuration 'Product stocks', make sure that you have activate the option 'Activate stock management'. It may solve your issue.
I hope it helps.
I am trying to fix this product listing: http://shop.crystalvine.com/salt/blueberrysalt-c.html
You see in the dropdown there is an option for "refill" which is supposed to say $10.95 but says $45.95
When I log into Magento and click on Catalog --> Manage Products
There are f different listings for this product, differentiated by size/price. I try to edit the price by clicking "edit" on the product and under the price option on the left I edit the price and save.
But doing that to the products does not change the price on the live site when I edit the price for them.
Am I doing something wrong there? How do I change the price?
Thanks!!
This is a configurable product.
Make sure you change the price for the simple product having that option or in the configurable product page, choose "Associated products" and make the price change there.
Then you probably must reindex your catalog (System -> Index managment).