Results 1 to 9 of 9

Thread: One page checkout

  1. #1
    New user
    Join Date
    02-26-10.
    Posts
    21

    Default One page checkout

    Is it possible to do it in isotope?

  2. #2
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: Open page checkout

    do you perhaps mean "one page checkout"?

  3. #3
    New user
    Join Date
    02-26-10.
    Posts
    21

    Default Re: One page checkout

    My mistake. Of course: "one" not "open"

  4. #4
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: One page checkout

    Honestly don't know, you could try editing $GLOBALS['ISO_CHECKOUT_STEPS']. You'll find it in isotope/config/config.php. By editing I mean make a new extension and change the array.

    1. Create a folder that sorts after isotope in /system/modules/ (for example isotope_onepage)[/*:m:28lbb7or]
    2. Create a subfolder config and add an empty file config.php[/*:m:28lbb7or]
    3. Add php code to edit $GLOBALS['ISO_CHECKOUT_STEPS']. I would try merging everything except 'review', so you get two steps. (ok two-page checkout)[/*:m:28lbb7or]

  5. #5
    New user
    Join Date
    02-26-10.
    Posts
    21

    Default Re: One page checkout

    Thank you for your help. I can't believe, it was that easy

  6. #6
    New user
    Join Date
    08-30-10.
    Posts
    23

    Default Re: One page checkout

    Quote Originally Posted by Ruud
    Honestly don't know, you could try editing $GLOBALS['ISO_CHECKOUT_STEPS']. You'll find it in isotope/config/config.php. By editing I mean make a new extension and change the array.

    1. Create a folder that sorts after isotope in /system/modules/ (for example isotope_onepage)[/*:m:1ux2bnu1]
    2. Create a subfolder config and add an empty file config.php[/*:m:1ux2bnu1]
    3. Add php code to edit $GLOBALS['ISO_CHECKOUT_STEPS']. I would try merging everything except 'review', so you get two steps. (ok two-page checkout)[/*:m:1ux2bnu1]
    I'm trying to follow this but I'm not quite there. I created a folder then a sub-folder called config. Step 3 is where I'm hung up - do I just collapse the CHECKOUT_STEPS into one array? What kind of php code do I add? Do I end up with a different module that I can add to my page?

  7. #7
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default Re: One page checkout

    The first level of keys are the steps and they contain the modules of that step. So you need to collapse all items inside $GLOBALS['ISO_CHECKOUT_STEPS'] into 2 items. (keep 'review' separate)

    But it seems as if you understand what you need, so what is the problem you run into? What did you try? You may use any PHP code you like to reorder the array.

  8. #8
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default

    In Contao 3 you also need a config/autoload.ini file containing the line below. This makes sure that Isotope is loaded first, otherwise your changes are overwritten by the original.

    Code:
    requires[] = "isotope"
    An autoload.ini file can be generated by Contao's "Autoload creator", you can best change that file afterwards.

  9. #9
    New user
    Join Date
    12-22-14.
    Posts
    1

    Default

    Thank you for the update! Will try it out.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •