Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

3 page checkout (sort of) for Community-Default-Theme

Featured Replies

Can I ask How can I go about adding another address box as it has address 1 and 2, but only 1 shows up

2.JPG.236b42ab642fa81b68be7adf5ec7c92c.JPG

But at checkout , it's

Capture.JPG.4999edcc4d489b7083a3e654b890425a.JPG

I even added the "other" but it seems to get over ridden when page loads

Edited by AndyC

  • Replies 98
  • Views 35.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • UPDATED April 5. 2020 Thirty bees Bleeding edge 1.1.0-1.1.x Have updated the 3 page checkout package that can be used on Community-Theme-Default Package is prepared for Standard or Advanced

  • datakick
    datakick

    The address (second) step of this checkout flow contains two forms. form for address selection + message form for carrier selection The first form is never submitted -- the submi

  • Have updated very first post of this thread with most recent files and description.

Posted Images

On 11/1/2020 at 9:39 PM, AndyC said:

Can I ask How can I go about adding another address box as it has address 1 and 2, but only 1 shows up

Hello. I never used multiple addresses, I ask for one, and some customers create another one later in checkout.

Did you see .tpl files?

Have you tried the original files, not 3-step checkout? It doesn't show the second address neither?

No I haven't as I don't want to mess things up yet again as site is now working ( I think) after a year of trouble  , well not this close to Xmas as well

56 minutes ago, AndyC said:

No I haven't as I don't want to mess things up yet again as site is now working ( I think) after a year of trouble  , well not this close to Xmas as well

Sure you shouldn't :)

it's a really good idea to have a clone shop with a different database just to try changes and not play with the real one. It's not difficult to do.

Been given some advice about the steps... Is there any way I can remove the create and edit & Already Registered from Step 2 only..

So basically only have guest checkout on step 2 ....

But still have the Log in option of create account

hi,

is anyone having problem with customer message not bein stored into db? 

Not really sure as not many people leave messages , unless like you I am not getting them.. Will keep an eye on on processors

  • 2 weeks later...

Has anyone noticed the buttons "Continue Shopping" Button seems to be a back button

Could anyone check

3 hours ago, AndyC said:

Has anyone noticed the buttons "Continue Shopping" Button seems to be a back button

Could anyone check

Yes, that is the normal behavior isn't it?

What I mean is lets say you on Payment Page which is the 3nd tab . If you press continue shopping it takes you back 1 page to Address then to Summary  and then it takes you to home page..

I would have thought even if you were on the payment tab pressing continue shopping would take you to the home page

Capture.thumb.JPG.cdfdfe92268eaca18ecc7fce224e41dc.JPG

no, and I think is good that way in my opinion. If you want to go home you can click in the logo. Also you do not want people go out so easy from the cart 🙂 I Directly change the translation and now it says "back"

7 minutes ago, rubben1985 said:

no, and I think is good that way in my opinion. If you want to go home you can click in the logo. Also you do not want people go out so easy from the cart 🙂 I Directly change the translation and now it says "back"

Yes it is I agree, it is good, just misleading as it should say back , where in translations can I find that please..

I've been trying to find why I cannot change " I agree to the terms of service and will adhere to them unconditionally." most of the day and ended up being the  Advanced EU Compliance module over riding it as I want to change it which is how I came about it lol

 

Edited by AndyC

15 hours ago, AndyC said:

Yes it is I agree, it is good, just misleading as it should say back , where in translations can I find that please..

You have to go from Backoffice to Localization -> Translation. Choose Frontoffice, your theme and language. There is a button to expand all the strings.

Then search with 'Control F' in your browser the string  'Continue Shopping'. Then save that block of strings with the first 'Save button' you can find.

image.png.dcd884b59bc2ffc72a90c6a3ec306621.png

  • 2 weeks later...

Does anyone use the TB New Address Fields module and can confirm it works .. I want to use it if possible to remove states

  • 3 months later...
On 11/11/2020 at 1:26 PM, MichaelEZ said:

hi,

is anyone having problem with customer message not bein stored into db? 

Indeed I have this problem too. I realized messages are not being stored /I do not receive them. Any idea how to solve this?

I'm talking about the messages that customer let in the comments box (next to address). Do you receive them?

also, I realized customers can pass the second step (shipping) without checking the box of conditions. If I activate this in the preferences section, condiciones field appear but it is not mandatory to accept them. Does someone have the same problem? any idea how to correct it?

  • 5 months later...

Hello  @rubben1985 ,  i can confirm that customers comments are not saved/we do not receive or see them anywhere  😥

Shipping option has to be chosen by checkbox in our case,  maybe you have to see your presets in shipping presets?  (best price, position and so on...),  standard is preselected the best price option and this works.

My question is:  if i will use this 3-page-checkout  (and i will 🙂 )  i have to force the last step into similar design like the 3rd site with choosing payment options. This means, i have to include items, descriptions, qty., item price, shipping costs  in the site after payment option is chosen  (e.g. where it shows  Pay by bankwire).  This is mandatory by law here.   It is not allowed to click 'buy' when the items are not described on the same site. 

The button BUY has to be lower on the same site where the cart is completely visible with all costs and so on.  This means, i have to change the last site into the same design as 3rd site is,  or other possibility is  not to need the 4th site   and manage to make it possible to click BUY  on the 3rs site  (but i think Paypal does not work in other case).

Any suggestions for this?  THANK YOU

  • 2 years later...

Does anyone know if this can be applied to prestashop 1.6.x with default theme?

4 hours ago, DSUTV said:

Does anyone know if this can be applied to prestashop 1.6.x with default theme?

Preliminary tests on my 1.6.x site, it seems to work.

  • 3 months later...
On 11/11/2020 at 1:26 PM, MichaelEZ said:

hi,

is anyone having problem with customer message not bein stored into db? 

yes, unfortunately!  maybe  @toplakd can still have a look? 

 

Edited by DRMasterChief

  • Author

I have never used this function, therefore I deleted the form in templates for my own use.

So not sure if it's working or not.

The address (second) step of this checkout flow contains two forms.

  1. form for address selection + message
  2. form for carrier selection

The first form is never submitted -- the submit button was removed to facilitate this illusion of 3 steps.

The address selection works because of attached ajax call to 'Choose a delivery address:' field. Message field, however, is not saved.

To make this work, you need to:

1) add some onchange handler and submit message data to server. For example:

    <div id="ordermsg" class="form-group">
       <label>{l s='If you would like to add a comment about your order, please write it in the field below.'}</label>
       <textarea class="form-control" cols="60" rows="2" name="message" id="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea>
    </div>
    <script>
      $('#message').on('change', () => {
        $.ajax({
          type: 'POST',
          headers: {
            'cache-control': 'no-cache'
          },
          url: "{$link->getPageLink($back_order_page, true)|escape:'html':'UTF-8'}" + '?rand=' + new Date().getTime(),
          async: false,
          cache: false,
          dataType: 'json',
          data: 'ajax=true&method=updateMessage&message=' + encodeURIComponent($('#message').val()) + '&token=' + static_token,
        });
      });
    </script>

2) handle this ajax request on server. Modify the OrderController override that comes with this theme to look like this:

    public function initContent()
    {
        // save cart message
        if (Tools::isSubmit('ajax') && Tools::isSubmit('method') && Tools::getValue('method') === 'updateMessage')
        {
            $this->_updateMessage((string)Tools::getValue('message'));
            $this->ajaxDie(true);
        }

        parent::initContent();
        switch ((int) $this->step) {
            case OrderController::STEP_ADDRESSES:
                 $this->_assignCarrier(); //assigns carrier to address page step
                break;
        }
    }

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.