Store Products - Add Second Currency "Real Price"

  1. joey_tbf

    joey_tbf - Mar 24, 2015 Active Member VIP Member

    Credit
    Point
    1. I remember i asked the same suggestion for your add-on "Purchase Sticky Thread" I looked for GetAmount.php in Store Folder but i could not find it.


    How can i add a secondary currently(Real Price) for the store products.

    Some forums use fake currency and most people will not know the math. 70,000 is how much in usd?? So it is better to add a second currency beside the fake currency. I pick usd because my members are american.

    Example:

    Cost: $70,000 per year (7.00 USD)


    Here is a photo of what it looks currently.

    Capture


    And this is what i would like to show.


    2

    I think it is important because member will not know how much it is in Real Money then they won't want to buy.
    I also hope in the future you can add this option in the admin panel or it should refect the overall withdrawl rate.



    Thanks
     
    Loading...
  2. Chang Lee

    Chang Lee - Mar 25, 2015 XenForo Expert Staff Member

    Credit
    Point
    Dear Serverguy,

    You can add real price by editing template BRS_product_list_item, find
    Code:
    <span class="credit_price">{$product.costPhrase} ({xen:number {xen:calc '{$product.cost_amount}/1'}} USD)</span>
    Replace with
    Code:
    <span class="credit_price">{$product.costPhrase} ({xen:number {xen:calc '{$product.cost_amount}/1'}} USD)</span>
    
    Notes: change 1 to your exchange rate.

    Regards,
     
    joey_tbf likes this.
    #2
  3. joey_tbf

    joey_tbf - Mar 25, 2015 Active Member VIP Member

    Credit
    Point
    It worked!!


    Capture


    Thanks!
     
    #3