Green
  •  Green
  • 53.25% (Neutral)
  • Newbie Topic Starter
2022-09-30T18:47:52Z
I have a need to suppress the $ sign in my install of hotcakes. I realize that currently the currency/geo are handled server side but hoped that there might be an easy way to handle it in the viewset or ?

Thanks for the help.

Will Strohl
2022-10-04T21:00:49Z
Originally Posted by: Green 

I have a need to suppress the $ sign in my install of hotcakes. I realize that currently the currency/geo are handled server side but hoped that there might be an easy way to handle it in the viewset or ?

Thanks for the help.



Great question... Are you referring to any specific places in your viewset, or all of the places you can potentially see a price?
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Green
  •  Green
  • 53.25% (Neutral)
  • Newbie Topic Starter
2022-10-04T23:15:51Z
Hi Will

I am using hotcakes entirely as points based with the only use of US dollar sign potentially for shipping and tax. Ideally I would suppress the $ by line item/where used, but if not possible then anywhere the $ shows up.

What do you think?
Will Strohl
2022-10-05T19:58:39Z
Originally Posted by: Green 

I am using hotcakes entirely as points based with the only use of US dollar sign potentially for shipping and tax. Ideally I would suppress the $ by line item/where used, but if not possible then anywhere the $ shows up.



Do you still intend to have a checkout process?

In thinking through everything, I think the best way to start is by modifying the views that aren't the Cart and Checkout first. Those will be easiest. You'd want to visually hide the pricing using CSS, and add new elements to your views that duplicate what the pricing was doing, but modify it server-side in the view itself to remove the dollar sign. This should be as easy as using the number formatting methods built into .NET.

You do it this way so that some of the client-side logic still works, but you're showing what you intend to visitors.

The Checkout and Cart will be a bit more trial and error, I think. The Checkout especially has dynamic aspects to it that will make what you want to do challenging, but doable. I just can't tell you the specific steps in those cases.
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Green
  •  Green
  • 53.25% (Neutral)
  • Newbie Topic Starter
2022-10-05T20:23:43Z
Hi Will.

Yes, I will still use the checkout. I have an external process updating the points table in hcc. For the point setting I have it set to 1 point = 1 dollar. Items are added based on a point value so when they check out they would use their points to drive the balance due to zero. Here is the kicker though. Currently, there is no shipping but we may in the future, enable vendors to drop ship which will generate a shipping charge and potentially tax. We may need to hire you for that scenario 🙂
Green
  •  Green
  • 53.25% (Neutral)
  • Newbie Topic Starter
2022-10-05T20:26:48Z
Originally Posted by: Green 

Hi Will.

Yes, I will still use the checkout. I have an external process updating the points table in hcc. For the point setting I have it set to 1 point = 1 dollar. Items are added based on a point value so when they check out they would use their points to drive the balance due to zero. Here is the kicker though. Currently, there is no shipping but we may in the future, enable vendors to drop ship which will generate a shipping charge and potentially tax. We may need to hire you for that scenario :)



Update - So this will require the need to use points to drive the subtotal to 0 and a credit card to pay for tax and shipping. So a dollar sign on these 2 fields will be necessary but not a show stopper if not done right away.

Users browsing this topic
    Loading
    • Sign-up for the Hotcakes Community Newsletter: