PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 7/6/2019 6:24 AM by  3ART Technologies
Show Discount Price
 10 Replies
 0 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Page 1 of 3123 > >>
Author Messages





New Member






--
7/26/2018 10:04 PM
    Hi guys,

    Wanting to be able to show discount prices on products on both the product category pages and the product details page, currently it shows the full price and it is not till you go to the cart/checkout that you see the discounted price via promotions.

    Would really like to have the same functionality as WooCommerce where site price has a strikethrough and the Promotional price is shown with the savings, ie: 20% discount.





    Basic Member






    --
    7/27/2018 4:05 AM
    Hi Damian

    What version of Hotcakes are you using?
    This feature is available in _default - ViewSet (at least in 3.x)

    Use "DetailedList" in Category Viewer and "Index" in Product Viewer

    The product template used in DetailedList is found in "Views/Shared/_RenderSingleProductDetailed.cshtml""
    If you want to display additional information (like percent off look into the UserSpecificPrice Class: https://github.com/Hotcak...UserSpecificPrice.cs

    eg. If you want to display the savings in percent: @Html.Raw(Model.UserPrice.SavingsPercent)

    Hope that helps
    Reto





    New Member






    --
    7/27/2018 10:38 PM
    I changed the view to detailedlist and it still only shows the text price for the item, it actually only seems to do the promotional price when it's in the cart. Is there a function I can use to check if the product is in a promotion and then get the new discounted price?





    Basic Member






    --
    7/30/2018 12:58 AM
    I'm not aware of a switch that changes the way discounts are handled.
    What kind of promotion did you create?





    New Member






    --
    7/30/2018 1:21 AM
    A simple 'Sale Promotion', where we add multiple products and give them a percentage off discount.

    In the cart it shows : July Catalogue 2018 -$4.63 discount, but it only shows once an item is in the cart the actual listing and details pages shows the full price.



    You are not authorized to post a reply.
    Page 1 of 3123 > >>


    Loading
    • Sign-up for the Hotcakes Community Newsletter: