• Resolved Kristián Filo

    (@kristianfilo)


    Hi,

    I’ve added the product details table to my recovery e-mails using the {{cart.product.table}} field, but the line items prices don’t contain taxes.

    I’ve searched this support forums and you’ve mentioned the woo_ca_recovery_enable_cart_total filter multiple times, but this filter doesn’t have any effect whatsoever on tax excl/incl display – it only determines whether the cart totals summary should be shown below line items or not.

    Are you planning on adding a filter for this? I’ve added 2 simple filters temporarily to class-cartflows-ca-email-schedule.php, but of course they will get overwritten with future updates.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello Kristian,

    Could you please share the changes you made?


    I would also like to have VAT displayed / line because the prices in emails are confusing for customers, even though I display total amount below table.

    Thanks!

    Thread Starter Kristián Filo

    (@kristianfilo)

    Sure. the template is essentially incorrect. Last two columns in product details table should be Price (unit, e.g. 5,20 €) and Line subtotal (quantity sum, e.g. 10,40 €). However, both columns are displaying the line_total price, so not only the tax is not correctly displayed, also the quantity is not considered.

    Look for class-cartflows-ca-email-schedule.php file (lines 313 and 314) and replace them with these lines:

    <td style="' . $style . '">' . wc_price( $cart_item['line_total'] + $cart_item['line_tax'] ) . '</td>
    <td style="' . $style . '" >' . wc_price( ( $cart_item['line_total'] + $cart_item['line_tax'] ) * $cart_item['quantity'] ) . '</td>

    This is a temporary and a bit hacky solution ($cart_item doesn’t seem to contain correct tax data), which might get removed once the plugin is updated. It should be fixed by the developers, but this code should work temporarily.

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @kristianfilo,

    The ‘woo_ca_recovery_enable_cart_total’ filter is intended to display the Cart Total, which includes both Tax and Shipping costs, in the Product Table. However, it currently doesn’t show the individual prices with tax.

    I will communicate this scenario to our internal team, and they will review and plan accordingly.

    Hope this helps.

    Hi,

    Any news ?

    Thanks.

    Plugin Support Shravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @marocweb,

    I have already forwarded it to our development team.

    Our development team will take a look and resolve it soon.

    Best Regards,

    Hi

    I also face the same issue, Is there any solution ?

    Plugin Support Aamir

    (@aamiribsf)

    Hello @camman,

    Thanks for writing back.

    I will forward your comments to the team. They will review it and will plan accordingly.

    Best Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.