Change the default wish list name upon creation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heatherwebdev
    Mivite

    • May 2017
    • 157

    #1

    Change the default wish list name upon creation?

    I'm modifying the wish list feature to use as more of a 'save cart' option, and by default when creating a wish list from the cart page, it names it 'wish list'. I'd like to know if there's a way to change that, I want to set to something like 'Saved Cart from - date / time'.

    Thanks!
  • heatherwebdev
    Mivite

    • May 2017
    • 157

    #2
    I have a decent start on a solution for this and can post code once I'm done for any one that's interested, but I've run into one issue. I need to be able to have a new wishlist created every time I add a new cart to a wishlist. Right now, it will either create a new list (if I don't have one), if I do have one, it will automatically add the products to that one. If I have multiple lists, it asks me to choose which one to add the cart contents to.

    What I'd like, is to always create a new wishlist when adding the cart contents (uses the action MAWL)

    Comment

    • RTHOMASDESIGN
      Mivite








      • Jun 2015
      • 296

      #3
      Just for other people that might be interested: <mvt:if expr="l.settings:wishlist:title EQ 'Wish List'">Desired Default Title<mvt:else>&mvte:wishlist:title;</mvt:if>

      Sorry, I do not have a solution for your second inquiry.

      Comment

      • heatherwebdev
        Mivite

        • May 2017
        • 157

        #4
        That doesn't actually rename the wish list though, it just displays the name differently. I do have a method in place that's changing the name on creation (by directing to the edit wishlist page when save cart is clicked, and automatically running a title change through the form), but because it tries to add new saved carts to a previous list, instead of automatically creating a new one, it's functioning wonky at the moment.

        Comment

        Working...
        X