Announcement

Collapse
No announcement yet.

Miva Merchant 9 Template Changes

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

    Miva Merchant 9 Template Changes

    If you're upgrading from PR8 here are the template changes necessary to use all of the new features in V9:

    http://www.miva.com/version9-template-changes
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    #2
    Re: Miva Merchant 9 Template Changes

    Originally posted by Rick Wilson View Post
    If you're upgrading from PR8 here are the template changes necessary to use all of the new features in V9:

    http://www.miva.com/version9-template-changes
    Rick,

    Will everything still work if these changes AREN'T made? Or are all these changes mandatory for everything to work properly (when upgrading from PR8 using MMUI)?

    Thanks,
    Eric

    Comment


      #3
      Re: Miva Merchant 9 Template Changes

      I think this update to 9 reference needs some cleaning up. There are references to miva.com and sessions that don't make sense to copy over. Obviously it should be yourdomain.com and store number as well as &mvt:global:secure_sessionurl; in many places.

      Also it would be helpful to just have another file with the complete new default code for those pages. When you don't have the point + Click mode you can't bring in the new Miva 9 code for the other template fields.

      I think it would be helpful to also have the changes by the PAGE. Right now you are bouncing back and forth.

      It is very confusing at the least.
      Last edited by Viscott; 11-14-14, 02:54 PM.
      Jon

      Viscott Limited
      www.viscott.com

      Comment


        #4
        Re: Miva Merchant 9 Template Changes

        Will everything still work if these changes AREN'T made? Or are all these changes mandatory for everything to work properly (when upgrading from PR8 using MMUI)?
        No these aren't mandatory, except if you want the new features (or new Google Analytics) to work as intended stock.
        Thanks,

        Rick Wilson
        CEO
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment


          #5
          Re: Miva Merchant 9 Template Changes

          The template changes have miva.com in them. Like below. Is it simple as changing domain and store code? Leaving everything else the same?

          CSSUI: Edit Page: OCST > Page > Customer Fields


          mine says:
          <script src="&mvt:global:clientside_url;Store_Code=&mvta:s tore:code;&amp;Filename=ToggleDetails.js&amp;Prima ddr=shipping&amp;Shipping=D&amp;Billing=O"></script>

          Your instructions say:

          <script src="http://www.miva.com/mm5/clientside.mvc?T=25c67cbc&Store_Code=MIVA&Filename =ToggleDetails.js&Primaddr=shipping&Shipping=D&Bil ling=O"></script>
          Last edited by entrepre7; 11-15-14, 01:19 PM.

          Comment


            #6
            Re: Miva Merchant 9 Template Changes

            When originally written it had all the variable's in it properly, but we posted that in a page in our own site, not realizing it would populate those all with our domain (that's what happens when you rush this out).

            We'll get it fixed first thing on Monday.
            Thanks,

            Rick Wilson
            CEO
            Miva, Inc.
            [email protected]
            https://www.miva.com

            Comment


              #7
              Re: Miva Merchant 9 Template Changes

              We were able to update that Page with all the template code changes, it should be site agnostic now.
              Thanks,

              Rick Wilson
              CEO
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #8
                Re: Miva Merchant 9 Template Changes

                Originally posted by Rick Wilson View Post
                If you're upgrading from PR8 here are the template changes necessary to use all of the new features in V9:

                http://www.miva.com/version9-template-changes
                Rick, I have not been able to use half the admin in 9, I was told I that miva would roll back the admin on both my regular site and my dev site. within two hours, that has not happened. I have not been able to work on my store for 5 days now. Very unhappy
                Robert

                Comment


                  #9
                  Re: Miva Merchant 9 Template Changes

                  Appreciate the info!
                  Last edited by whona; 11-19-14, 10:03 AM.

                  Comment


                    #10
                    Re: Miva Merchant 9 Template Changes

                    Whona -

                    The only way for that to happen would be if you have session ids hard coded in your pages. If you're seeing this, make sure you go though your page templates and remove any of these session ids

                    As for the correct link there are a few ways.

                    If you are using Search Friendly links you can simply recreate your link structure:

                    /category/category_code.html
                    /product/product_code.html

                    The &mvt:global:secure_sessionurl; variable only should be used when linking to a secure page like the account pages or checkout process.
                    Brennan Heyde
                    VP Product
                    Miva, Inc.
                    [email protected]
                    https://www.miva.com

                    Comment


                      #11
                      Re: Miva Merchant 9 Template Changes

                      It appears that you need to be sure that if you are using the existing ReadyThemes from Miva that you will need to apply these changes to the templates as well.
                      Jon

                      Viscott Limited
                      www.viscott.com

                      Comment


                        #12
                        Re: Miva Merchant 9 Template Changes

                        Jon,

                        I think you just had an early build of the Optics theme, that shouldn't be true in general.
                        Thanks,

                        Rick Wilson
                        CEO
                        Miva, Inc.
                        [email protected]
                        https://www.miva.com

                        Comment


                          #13
                          Re: Miva Merchant 9 Template Changes

                          The Optics theme I downloaded is the current one on the Miva site, date 11-11-2014.

                          PROD > Page > Attribute Machine

                          attributemachine.htm


                          Code:
                          <script>
                          	AttributeMachine.prototype.Generate_Swatch = function (product_code, attribute, option) {
                          		var swatch = document.createElement('li'),
                          			img = document.createElement('img');
                          			
                          		img.src = option.image;
                          		swatch.setAttribute('data-color', option.prompt);
                          		swatch.appendChild(img);
                          		return swatch;
                          	};
                          	AttributeMachine.prototype.Swatch_Click = function(input, attribute, option) {
                          		var i,
                          			swatchNameElement = document.getElementById('js-swatch-name');
                          			
                          		for (i = 0; i < input.select.options.length; i++) {
                          			if (input.select.options[i].value == option.code) {
                          				input.select.selectedIndex = i;
                          			};
                          		};
                          		if (attribute.inventory) {
                          			this.Attribute_Changed(input);
                          		};
                          		
                          		swatchNameElement.innerHTML = option.prompt;
                          	};
                          </script>
                          I am really interested in the Suivant ReadyTheme. I was checking out the functionality of Optics.
                          Last edited by Viscott; 11-19-14, 04:05 PM.
                          Jon

                          Viscott Limited
                          www.viscott.com

                          Comment


                            #14
                            Re: Miva Merchant 9 Template Changes

                            Store owner would like to take advantage of the ability to do strike-thru pricing as it relates to the new Marketing Discount features / functions. But I think I've got a double whammy of a problem - they are not using the Attribute Machine (and it looks like this may be driven by it) and they are using the Viking Coders Attribute Templates (to use in conjunction with the Viking Coder Inventory Manager).
                            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


                              #15
                              Re: Miva Merchant 9 Template Changes

                              You would only need to be using attribute machine if you wanted to display discounts on attributes and see the price change in real time as you select different attributes. If you are just doing product level discounts they should work with Viking Coders Inventory Manager / Attributes.

                              The Strike through price display doesn't depend on the Attribute Machine. There are separate controls for it in the Product Display Layout components
                              Last edited by Brennan; 12-15-14, 03:17 PM.
                              Brennan Heyde
                              VP Product
                              Miva, Inc.
                              [email protected]
                              https://www.miva.com

                              Comment

                              Working...
                              X