Is it possible to always include the VAT in a Sylius shop? - sylius

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)

Related

Products with no options are having the product quantity input hidden

I have a Big Commerce store that has several products. Most of the products have options such as size and color which are working fine. A few products have no options and on those products the product-quantity input is being hidden after the page loads.
If I go into Advanced Options > Inventory > General Settings and set "When an option is out of stock" to "Hide the option" the product quantity becomes visible again and the product can be added to cart. I don't think this is a good solution because then products with options that are actually out of stock will still be available.
Any help that you can provide me would be much appreciated.
Thank you
Try to check if you have the following option in your Config.JSON file.
"show_product_quantity_box": true/false
If you do, just set it to true. If this is not the case, did you try to manually display the quantity box/input with SCSS ?

Prestashop 1.7 need tax included in total only, not in product price

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}

Override email templates (mailalert module) in prestashop

We have an eshop in prestashop (1.6.1.12 version) with mail alerts module installed. The concept is to modify the email template in order to change the way some values are being displayed. In particular we would like to modify the new_order email notification (the one that the shop owner receive for every new order) removing the product links from the product list and display the shipping costs without tax (the total tax is visible on the next field of the email).
You have the template files in this directory:
/modules/mailalerts/mails/[your-language]

Prestashop: Producto with price 0 in category page

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.

How to fix price error for a product in Magento?

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).