Product Price on Homepage

Hi folks, There are some simple issues I’m having with Erpnext.

How do I show the product prices on homepage “Featured Products” block ?
Product photos and product code appears on the page but there is no price.

How can I fix this issue?

p.s:

Installed Apps

  • ERPNext: v8.6.1 (master)
  • Frappe Framework: v8.6.0 (master)

Thank you!

Disabble shopping cart
in website settings.

Hope this helps.

Hey krnkris, Thanks for your comment.

But I do not think it will work :frowning:
If the “shopping cart” is disabled, it will not show the price on the product page too!

There has to be another way for that!

@klezer
I am also having same issues in Shopping cart
We made new webpages to fix this.

You can make your own pages.

If you think if is helpful, then you can create github issues for generic changes in shopping cart.

Please check:

Hey @kolate_sambhaji, Thanks for your help, we are trying to find a way to do that.

As far as I can see, there is no connection with the price at homepage “Featured Products” block.

When we examine the following code, the route field is also drawn from the database.

    for item in homepage.products:
        route = frappe.db.get_value('Item', item.item_code, 'route')
        if route:
            item.route = '/' + route

Now the question is; What is the function that I can use to get the prices of products from the price list defined on the Website → Portal → Shopping Cart Settings > Price List