• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

To get origin address of sales/shipping

General Discussion
2
3
411
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.
  • A
    ali_infotech last edited by ali_infotech 26 Feb 2021, 19:16 26 Feb 2021, 19:08

    How can I get origin address of sales/shipping (saved on admin side sales/shipping apge) on bagisto\packages\Webkul\Shipping\src\Carriers\FlatRate.php page?

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 1 Mar 2021, 13:53

      Hi @ali_infotech,

      Check the below keys,

      core()->getConfigData('sales.shipping.origin.store_name');
      core()->getConfigData('sales.shipping.origin.address1');
      core()->getConfigData('sales.shipping.origin.zipcode');
      core()->getConfigData('sales.shipping.origin.city');
      core()->getConfigData('sales.shipping.origin.state');
      
      1 Reply Last reply Reply Quote 0
      • A
        ali_infotech last edited by 3 Mar 2021, 15:04

        Thank you so much!

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post