Announcement

Collapse
No announcement yet.

Miva 10.04 Template Changes > BASK

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

    Miva 10.04 Template Changes > BASK

    I think I was able to figure out the template changes for Storyteller but I seemed to have missed something that enables the selected attributes to be restored to the basket.

    The original Storyteller button has has these parameters in it:

    Code:
    <a class="" href="&mvte:urls:BASK:auto_sep;Action=RGRP&Basket_Group=&mvta:group:group_id;&Offset=&mvta:global:Offset;&AllOffset=&mvta:global:AllOffset;&CatListing Offset=&mvta:global:CatListingOffset;&RelatedOffset=&mvta:global:RelatedOffset;&SearchOffset=&mvta:global:SearchOffset;&Restore_Name=&mvta:group:name; &Restore_Link=&mvta:group:restore:link;"></a>

    the coding update is doesn't include some of the same parameters


    Code:
    <a class="" href="&mvte:urls:BASK:auto_sep;Action=RGRP&Basket_Group=&mvta:group:group_id;&Restore_Name=&mvta:group:name;&Restore_Params=&mvta:group:restore:params;&quote_item=&mvta:global:quote_item;"></a>
    The coding was similar to the Levels template up to the point of this remove link. Can I just change this portion in the original link

    Code:
    &Restore_Link=&mvta:group:restore:link;
    to

    Code:
    &Restore_Params=&mvta:group:restore:params;&quote_item=&mvta:global:quote_item;

    or perhaps

    Code:
    &Restore_Params=&mvta:group:restore:params;

    for a final link of


    Code:
    <a class="" href="&mvte:urls:BASK:auto_sep;Action=RGRP&Basket_Group=&mvta:group:group_id;&Offset=&mvta:global:Offset;&AllOffset=&mvta:global:AllOffset;&CatListing Offset=&mvta:global:CatListingOffset;&RelatedOffset=&mvta:global:RelatedOffset;&SearchOffset=&mvta:global:SearchOffset;&Restore_Name=&mvta:group:name; &Restore_Params=&mvta:group:restore:params;&quote_item=&mvta:global:quote_item;"></a>
    or
    Code:
    <a class="" href="&mvte:urls:BASK:auto_sep;Action=RGRP&Basket_Group=&mvta:group:group_id;&Offset=&mvta:global:Offset;&AllOffset=&mvta:global:AllOffset;&CatListing Offset=&mvta:global:CatListingOffset;&RelatedOffset=&mvta:global:RelatedOffset;&SearchOffset=&mvta:global:SearchOffset;&Restore_Name=&mvta:group:name; &Restore_Params=&mvta:group:restore:params;"></a>

    Ignore any breaks in the code adding them to the forum broke them.
    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

    #2
    Hi Leslie,

    The inclusion of selected attributes in the restore link are MVT:ASSIGN values within the options loop. Make sure you have updated those as well.
    Matt Zimmermann
    Front-End Development Director / Miva, Inc.

    Comment

    Working...
    X