Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    channel based curruncy in channel order not show

    Knowledge Base
    2
    2
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      saqib last edited by

      Hi, I am using Bagisto 2.2.3. When creating an order from a subdomain like ca.example.com, all orders in the backend are displayed in USD, which is the default currency for the default channel. However, the subdomain's channel is set to use the Canadian Dollar (CAD) as its currency.

      How can I update this? In the Admin package, the order template is using "formatBasePrice" this function. Should I replace it with the channelCurrency function? If so, how should it be done?

      <div class="box-shadow rounded bg-white dark:bg-gray-900">
      <div class="flex justify-between p-4">
      <p class="mb-4 text-base font-semibold text-gray-800 dark:text-white">
      @lang('Order Items') ({{ count($order->items) }})
      </p>

                          <p class="text-base font-semibold text-gray-800 dark:text-white">
                              @lang('admin::app.sales.orders.view.grand-total', ['grand_total' => core()->formatBasePrice($order->base_grand_total)])
                          </p>
                      </div>
      
      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @saqib

        Regarding this query kindly raise your query at Bagisto UV Desk. Kindly find the link below.

        UV Desk: https://bagisto.uvdesk.com/en/

        Thanks & Regards

        1 Reply Last reply Reply Quote 0
        • First post
          Last post