Announcement

Collapse
No announcement yet.

10.0.5 new code for sorting and add account?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    10.0.5 new code for sorting and add account?

    Can we have the code to add to a category list layout sort to include a custom field in the sort fields?

    Also can we have at least some super basic form fields/code to put on the INVC that lets the client create an account here please?

    Is this still the place to check? https://www.miva.com/template-changes
    Colin Puttick
    Miva Web Developer @ Glendale Designs

    #2
    For un-numbered number 2, you can use the newish readytheme "create account" form post that's right before checkout. Just prepopulate the g.customer_ fields structure as a hidden field, and display the password and confirm password field. The only downside to this is the current account does not get assigned to the order unless you use a custom, non-api function. There probably is an API around since you can do that in the admin, but we are worthy enough. Might check API Functions just in case someone was feeling generous that day.
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      All the new docs for 10.00.05 will be posted shortly. We're finishing up some final changes to the docs.

      But here are some code samples for you to get you started:

      Sort By Custom Fields Code:
      https://snippets.cacher.io/snippet/05b5407b0e67c316900f

      Quick Account Create (This is from Shadows but you can modify as needed)
      https://snippets.cacher.io/snippet/4327c0a380eabdb640d4



      Brennan Heyde
      VP Product
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment


        #4
        Will you let us know when the docs are ready through this thread or where?

        Originally posted by Brennan View Post
        All the new docs for 10.00.05 will be posted shortly. We're finishing up some final changes to the docs.

        But here are some code samples for you to get you started:

        Sort By Custom Fields Code:
        https://snippets.cacher.io/snippet/05b5407b0e67c316900f

        Quick Account Create (This is from Shadows but you can modify as needed)
        https://snippets.cacher.io/snippet/4327c0a380eabdb640d4


        Jamie Donaldson
        JSDVS Web Design / Development
        Web Design | Web Development | E-commerce Design & Integration

        Comment


          #5
          Here you go:

          Category Manager Menu:
          docs.miva.com/miva10/reference-guide/category-manager-menu

          Runtime Sorting By Custom Fields
          docs.miva.com/miva10/reference-guide/sort-products-by-custom-field

          Customer Quick Add
          docs.miva.com/miva10/reference-guide/customer-quick-add


          A new version of Shadows has also been released (2.00.05). This updated is bundled with Miva 10. Here are the changes in this update:
          github.com/mivaecommerce/readytheme-shadows/milestone/9?closed=1
          Brennan Heyde
          VP Product
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment


            #6
            Super fast! Thanks Brennan!
            Jamie Donaldson
            JSDVS Web Design / Development
            Web Design | Web Development | E-commerce Design & Integration

            Comment


              #7
              Originally posted by Brennan View Post
              Here you go:

              A new version of Shadows has also been released (2.00.05). This updated is bundled with Miva 10. Here are the changes in this update:
              github.com/mivaecommerce/readytheme-shadows/milestone/9?closed=1
              Just to clarify, this version is bundled with new installs? Or is it now part of the update to MM10? Does the version that is with MM10 get updated or does it still have to be manually updated?

              (Asking these questions for archival reference)

              Leslie Kirk
              Miva Certified Developer
              Miva Merchant Specialist since 1997
              Previously of Webs Your Way
              (aka Leslie Nord leslienord)

              Email me: [email protected]
              www.lesliekirk.com

              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

              Comment


                #8
                Good Question. Each release of Miva, we now update the Shadows framework which ships with Miva 10. This can be found under User Interface -> Frameworks. You'll notice that the framework version for Shadows also updates with each software release.

                This has no impact on your stores live templates, even if your site has the shadows framework applied. In order to see the new changes, you would need to create a new template branch and re-apply the Shadows Framework, which will take the latest framework we push out in each release and apply them to your template branch. This is a great way to reference changes.

                Lets say you wanted to add the new Quick Add on invoice, you could then copy your production site as a template branch, add the new code needed either by looking at the docs or referencing the template branch you created and applied the latest framework to. Once you have the changes completed and tested, you can then merge/copy your branch back into production to deploy the code.

                Screen Shot 2021-02-12 at 9.04.25 AM.png

                I may do a quick video on this process to help show how to leverage template branches to stage and QA the latest changes we push out in each update.
                Brennan Heyde
                VP Product
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment


                  #9
                  Originally posted by Brennan View Post

                  I may do a quick video on this process to help show how to leverage template branches to stage and QA the latest changes we push out in each update.
                  This would be great Brennan. I recently had issues with a branch, so I'd like to see how you do it, to determine where I went wrong.
                  Jamie Donaldson
                  JSDVS Web Design / Development
                  Web Design | Web Development | E-commerce Design & Integration

                  Comment

                  Working...
                  X