Quote Originally Posted by keneso View Post
Thank you.

Now I have another problem.

I have set in
configuration > my store the basis of product tax, and basis of shipping tax to "store", when adding product the cart shows the full price (tax included), when clicking to checkout, and selecting guest (haven't tested new or existing customer) the price is displayed without tax, and when going back to edit cart (shopping_cart.html) the price has changed and displays without tax.
The tax column is not displayed in the table

PHP Code:
<?php
// display tax info if exists
if ($display_tax_column)  {
?>
<td class="cartTotalDisplay"><?php echo zen_display_tax_value($order->products[$i]['tax']); ?>%</td>
<?php
}  // endif tax info display
?>
What do you think I messed up?
You didn't mess up anything ... I did. I've replicated this issue locally and have provided a correction via this OPC GitHub issue.

The underlying issue is that, for stores having configured My Store :: Store Country as a country containing zones (e.g. Italy) with My Store :: Basis of Product Tax set to Store, the order-class determines the tax-rate to apply via database lookup for a match on a database lookup of an address' country and zone-id. Unfortunately, the OnePageCheckout.php class was not initializing its temporary billing/shipping addresses to include the value present in My Store :: Store Zone.

With that zone_id set to 0, no matching country/zone pair was found in the database ... resulting in a 0-valued tax-rate.

That correction is now staged on the OPC GitHub repository for the v2.3.8 release. I'll wait for that release until you can provide third-party verification that the correction actually corrects the issue!