Title: layout
Last modified: April 22, 2020

---

# layout

 *  [Razin2020](https://wordpress.org/support/users/nizar2020/)
 * (@nizar2020)
 * [6 years ago](https://wordpress.org/support/topic/layout-73/)
 * 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](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](https://prnt.sc/s3pwpw)

Viewing 1 replies (of 1 total)

 *  Plugin Author [flycart](https://wordpress.org/support/users/flycart/)
 * (@flycart)
 * [6 years ago](https://wordpress.org/support/topic/layout-73/#post-12719216)
 * 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](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](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.

 * ![](https://ps.w.org/woo-discount-rules/assets/icon-256x256.png?rev=1977982)
 * [Discount Rules for WooCommerce](https://wordpress.org/plugins/woo-discount-rules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-discount-rules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-discount-rules/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-discount-rules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-discount-rules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-discount-rules/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [flycart](https://wordpress.org/support/users/flycart/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/layout-73/#post-12719216)
 * Status: not resolved