• Hi, I am trying to change layout of table. I have updated the discount table in php based on your snipcode reccomendation, so that dollar amount shows as opposed to the percentage discount, however need to do a couple more things and can not figure it out. PS using elementor as well, in case you are compatible with elementor

    – Need to add grid lines to the table, like your sample on the override file https://docs.flycart.org/en/articles/2417123-all-about-discount-table

    – Need to space the table out so all headers fit

    – Need to remove the cross line

    – Pricing will not update dynamically, even though option is checked under display

    – Price is crossed out and sale price is showing, do not want the original price crossed out

    Thank you!

    https://prnt.sc/s3pwpw

Viewing 1 replies (of 1 total)
  • Plugin Author flycart

    (@flycart)

    Hi

    The code snippet is for a different purpose (to show the discounted price instead of a percentage)
    That is why you are seeing it.

    You can just copy the default layout itself to your theme’s override folder.

    Example:

    you can copy /wp-content/plugins/woo-discount-rules/view/template/discount-table.php

    Then you can add all types of HTML and CSS changes and style it like you have asked for.

    “Need to remove the cross line” – You mean the crossed-out original price. If you remove it, the customer may not understand that he is getting a discounted price. But if you would like to remove the crossed-out original price, you can just add a CSS to hide it. If you have a difficulty,please open a ticket at https://www.flycart.org/support with url to a product in the store. We can help.

    “Pricing will not update dynamically, even though option is checked under display” – Can you please try this guide: https://docs.flycart.org/en/articles/3290414-how-to-show-discounted-price-dynamically-when-quantity-changes
    It should help.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘layout’ is closed to new replies.