Okay
  Public Ticket #2742656
Reporting possible styling issue for WooCommerce cart widget in theme
Closed

Comments

  • Ryan Hutchinson started the conversation

    Hi. I noticed in the Cart widget wasn't crossing out the original price displayed next to a sale or discounted price. I don't know if this is theme-related but as the info is nested deep in the .btCartWidgetInnerContent class with several other bt-specific classes I thought perhaps I'd mention it.

    I was able to add the custom style .btCartItemTable del span { text-decoration: line-through !important; } to apply a strikethrough to the original price. Now when a sale price or discount is applied through WooCommerce or discounting plugin it won't lead to confusion.

    Hopefully this might be helpful to others. Regards.

  •  1,699
    Support Agent 1 replied

    Hi Ryan,

    Could you please send us some screenshot of the issue?

    This is what we see on our demo site:

    3291178731.pngThanks!


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Ryan Hutchinson replied

    I've commented out my custom styles so you can see what the theme is outputting natively.

    I've attached a screenshot of the Cart widget where it's inserting the sale price next to the original. It's not adding a line-through style to the original price like it does on the view cart page, shown in the other screenshot.

    By adding .btCartItemTable del span {text-decoration: line-through !important; } I can get it crossed out but figured I should let you know in case a fix can be included in the next version of the theme.

    Or maybe this issue resides with WooCommerce directly? The reason I say that is because after removing the Cart widget in favour of the Side Cart plugin, the original price isn't being crossed out either. I had to create a similar style for the plugin.

    Attached files:  cart-widget.png
      view-cart.png

  •  1,699
    Support Agent 1 replied

    Hi Ryan,

    We are not sure which theme version you are using but in latest theme version the sale price gets automatically displayed within the Cart widget, like this:

    8664691314.png



    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Ryan Hutchinson replied

    Ok, thank you. I am running v.1.3.2 so maybe this issue relates to WooCommerce or one of the plugins/extensions being used for managing products and pricing. If I learn any more and it appears to be theme-related I'll report it here. Cheers.

  •  1,699
    Support Agent 1 replied

    Hi Ryan,

    Thanks in advance!smile.png


    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!