Bagisto Forum

    Bagisto

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

    To get origin address of sales/shipping

    General Discussion
    2
    3
    401
    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

      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

        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

          Thank you so much!

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