Announcement

Collapse
No announcement yet.

Miva Merchant 9.0004 Template Changes

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

  • alphabet
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Are there any changes required to the PayPal Express Checkout Button Item Template?

    Sample code:

    Code:
    <mvt:if expr="l.settings:PaypalExButton:express_in_context">
        <a data-paypal-button="true" href="&mvt:global:secure_sessionurl;Store_Code=&mvta:global:Store_Code;&amp;Action=PAL1&amp;Screen=PAL1&amp;NextScreen=OCST&amp;NextAction=&amp;CancelScreen=&mvta:global:Screen;"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="border:0; padding:1em 0;" alt="" /></a>
    <mvt:else>
        <a href="&mvt:global:secure_sessionurl;Store_Code=&mvta:global:Store_Code;&amp;Action=PAL1&amp;Screen=PAL1&amp;NextScreen=OCST&amp;NextAction=&amp;CancelScreen=&mvta:global:Screen;"><img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="border:0; padding:1em 0;" alt="" /></a>
    </mvt:if>
    My NextScreen has a redirect on it with the new URI manager.

    Leave a comment:


  • Brennan
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Here is the PATR page for Suivant and Iron and Wool

    https://gist.github.com/influxweb/03f3c0d38b8438b90eb1

    This will be added in the next update to both themes.

    Leave a comment:


  • Brennan
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Regarding the PATR page, it does look like that page was missed. We will update it. However, because of the AJAX add to cart it is not currently possible to get to that page.

    For the meta tag code, that is correct. The meta tags were changed so they cascade eliminating the logic in the first block of code.

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Going through the 9.0004 template changes. On step "CSSUI: User Interface: Settings: CSSUI Head Tag Content/CSS"
    I wonder if this:

    Code:
    <mvt:if expr="NOT ISNULL l.settings:product:metafield:keywords">
        <meta name="keywords" content="&mvt:product:metafield:keywords;" />
    <mvt:elseif expr="NOT ISNULL l.settings:category:metafield:keywords">
        <meta name="keywords" content="&mvt:category:metafield:keywords;" />
    <mvt:else>
        <meta name="keywords" content="SEO: META KEYWORDS" />
    </mvt:if>
    <mvt:if expr="NOT ISNULL l.settings:product:metafield:description">
        <meta name="keywords" content="&mvt:product:metafield:description;" />
    <mvt:elseif expr="NOT ISNULL l.settings:category:metafield:description">
        <meta name="keywords" content="&mvt:category:metafield:description;" />
    <mvt:else>
        <meta name="description" content="SEO: META DESCRIPTION" />
    </mvt:if>
    is being replaced with this:

    Code:
    <mvt:item name="prodctgy_meta" param="combined" />
    Can anyone confirm? And if it is, I wonder where all that coding is going/has went?
    Thanks!
    Cway

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    I'm looking at my dev store, which has a newly installed Suivant Ready Theme.
    On all other pages, the title tag is now wrapped in an if/else expression:

    Code:
        <mvt:if expr="NOT ISNULL l.settings:page:title">
            <title>&mvt:page:title;</title>
        <mvt:else>
            <title>&mvt:store:name;: &mvt:page:name;</title>
        </mvt:if>
    On page PATR, the title tag is the same as it used to be:

    Code:
    <title>&mvt:product:name;: &mvt:store:name; - &mvt:page:name;</title>

    Leave a comment:


  • lesliekirk
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Originally posted by cway View Post
    I'm wondering if the Suivant Ready Theme has been completely updated, as I've installed it into my dev store and I've noticed the PATR page doesn't have the same code that's in the template_changes.html
    Maybe it got skipped?
    Do keep in mind that the template_changes.html appears to be using the Default CSSUI framework. With that said, what did you find?

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    I'm wondering if the Suivant Ready Theme has been completely updated, as I've installed it into my dev store and I've noticed the PATR page doesn't have the same code that's in the template_changes.html
    Maybe it got skipped?

    Leave a comment:


  • Rick Wilson
    replied
    Re: Miva Merchant 9.0004 Template Changes

    No, the Forums is where we announce these changes (and the Reference Guide).

    Leave a comment:


  • lesliekirk
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Is there any sort of advisory (other than the forums) to let a store owner that new features may require coding updates? I'm thinking there isn't due to the number of emails I've started getting about this or that function not working.

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    I'm working on implementing the 9.0004 template changes for a client. On the first page, ACRT, it says to look for some code, but when I do, it's not there. Not sure how to proceed with that one. Can anyone advise?
    Thanks!
    Cway

    Leave a comment:


  • Brennan
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Yep that is always a good method too.

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Originally posted by Brennan View Post
    You need to run updated before making the page template changes.

    You will want to go though all the changes here:

    http://www.miva.com/mm9.4_template_changes.html

    Then the theme specific changes here:

    https://github.com/mivaecommerce/rea...v1.3.0-Updates
    I've got a dev store. I wonder if I could add the Suivant ready theme to it and get the template changes from there, instead of from mm9.4_template_changes.html and github.com ?

    Leave a comment:


  • Brennan
    replied
    Re: Miva Merchant 9.0004 Template Changes

    You need to run updated before making the page template changes.

    You will want to go though all the changes here:

    http://www.miva.com/mm9.4_template_changes.html

    Then the theme specific changes here:

    https://github.com/mivaecommerce/rea...v1.3.0-Updates

    Leave a comment:


  • cway
    replied
    Re: Miva Merchant 9.0004 Template Changes

    Originally posted by Brennan View Post
    @wmgilligan

    Yes you first have to make the 9.0004 page template changes found here:

    http://www.miva.com/mm9.4_template_changes.html

    Then, there are a few changes specific to the theme itself that need to be made that are posted below.

    Details on client dimensions can be found here:

    http://docs.miva.com/docs/client-dimensions

    You have to manually create the item.
    Brennan, I have a client that's using the Suivant Ready Theme and I haven't implemented 9.0004 changes, yet.

    1. Are you saying I first need to implement the template changes, then look for Suivant-specific changes at docs.miva.com/docs/client-dimensions ? Or maybe those ready theme specific changes are at: https://github.com/mivaecommerce/rea.../master/assets ?

    2. Also, I assume the last step in upgrading (so-to-speak) to 9.0004 would be to run the Upgrade Wizard?

    Thanks!
    Cameron

    Leave a comment:


  • Brennan
    replied
    Re: Miva Merchant 9.0004 Template Changes

    The SMAP page is no longer turned on or off by a toggle under SEO settings in 9.0004. Instead it is always there under pages and you can choose to link it if you wish to use it.

    You are correct, the 9.0004 template changes don't match exactly. You'll need to look at what the code change is and determine where it should go in your site. Most all the changes should be fairly straight forward even though the code does not match exactly. A good reference is to use a free developer store to install the latest readytheme and compare the page template to your site.

    Long term we are working on a better way to provide page template updates in the future.

    Leave a comment:

Working...
X