Bagisto Forum

    Bagisto

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

    Ship to this address section

    Bug Report
    2
    2
    450
    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.
    • K
      kishnbupadhyaya last edited by kishnbupadhyaya

      Hello Team,

      1. In checkout process on saved address you have show one checkbox and that is for ship to this address section here my question is that in how can i show it is unchecked by default because as per our requirement when user checked that checkbox that time it will show shipping method section at time of guest checkout.

      2. but at time of customer is logged in that time we have showed two radio button like this http://prntscr.com/p12gl9 when user click on link billing address that use same billing address as shipping address otherwise show another shipping address section.

      for this you have used vue js in onepage.blade.php if i use checkbox v-model as !address.billing.use_for_shipping it shows error in console like this http://prntscr.com/p11v6b so please help me on this.

      Thank You,
      Kishan Upadhyaya

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @kishnbupadhyaya

        First of all you need to override onepage.blade.php file for it & need to change it according to your requirement & may need to override another view files as you are changing some of its field.

        For question one - you can see this line in onepage.blade.php file

        address: {
                 billing: {
                     address1: [''],
        
                     use_for_shipping: true,
                },
               ....
         },
        

        turn use_for_shipping to false & to show shipping method when user checked it you need to implement a method on this checkbox which can show shipping method when its checked.

        For second can you attach a screenshot of your error with code.

        Thanks

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