Announcement

Collapse
No announcement yet.

Demystify the Wish List Action=MAWL

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

  • Bruce - PhosphorMedia
    replied
    Here's what we use...not sure if there is anything else going on. We are using very modified Account screens. gawd knows what else we ditched or moved.

    Code:
    <form method="post" action="/basket-contents.html">
    <input type="hidden" name="Action" value="AFWL">
    <input type="hidden" name="Wish_ID" value="4106">
    <input type="hidden" name="Quantity" value="5">
    <button type="submit" id="add-to-cart-button" class="btn btn-warning text-uppercase text-light oneClick" style="white-space:nowrap"><i class="fa fa-shopping-cart" aria-hidden="true"></i> <b>Add to Cart</b></button>
    </form>

    Leave a comment:


  • Jim Cockerham
    replied
    Is there any way to prevent the product from being removed from the basket when clicking on the "Save to Wish List" link? I tried using ATWL instead of MPWL but it did not work.

    Leave a comment:


  • Jim Cockerham
    replied
    Originally posted by lesliekirk View Post
    Following on this - thank you Kent for pointing me in the right direction. Why on earth it's under Customer Security Settings we may never know...
    Amen! I have been looking all over to figure out how the default name is assigned. :)

    Leave a comment:


  • Kent Multer
    replied
    Good point; it should probably be on the Store Settings page.

    Leave a comment:


  • lesliekirk
    replied
    Following on this - thank you Kent for pointing me in the right direction. Why on earth it's under Customer Security Settings we may never know...

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Kent Multer View Post
    I did some research on this last year. According to my notes, there is an admin setting for "Default Wish List Name." This is what the store uses when a customer clicks one of those move-to-list buttons, and they don't have any lists.
    If there is an admin setting for "Default Wish List Name" that is exactly what I need. I just want to change that default.

    Leave a comment:


  • Kent Multer
    replied
    I did some research on this last year. According to my notes, there is an admin setting for "Default Wish List Name." This is what the store uses when a customer clicks one of those move-to-list buttons, and they don't have any lists.

    Without taking another look at the LSK, I'll guess that, to choose your own name for the newly-created list, you'll need to trigger some code that actually creates the list when the customer clicks a button. Then it can pass control to the store to add the item to the newly created list.

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    You would add a text input, give that input an ID, then use some jQuery to grab the value of that input and add it to the query string of the link.

    Alternately, if you can find a position that's outside of other forms that work, just change the link to a Form post.

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Bruce - PhosphorMedia View Post
    I assume it would be the same field that is used on the Create Wish List form. i.e., WishList_Title.

    The trick would be to add that into the 'link' that many templates use to "add all basket" items to wish list.

    I'd probably try using jQuery's ".param()" function https://api.jquery.com/jquery.param/ to do that.
    But how do I change the default Wish List name? As in what do I try?

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    I assume it would be the same field that is used on the Create Wish List form. i.e., WishList_Title.

    The trick would be to add that into the 'link' that many templates use to "add all basket" items to wish list.

    I'd probably try using jQuery's ".param()" function https://api.jquery.com/jquery.param/ to do that.

    Leave a comment:


  • lesliekirk
    started a topic Demystify the Wish List Action=MAWL

    Demystify the Wish List Action=MAWL

    I am trying to track down where the default Wish List name is inserted at. It gets added when a brand new Wish List is created from the BASK screen. I would really like to change that or even better allow the customer to insert a name.

    Code:
    &mvte:urls:WISH:secure_sep;Action=MAWL
Working...
X