Announcement

Collapse
No announcement yet.

Adding Wishlist to ReadyTheme

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

    Adding Wishlist to ReadyTheme

    I finally got around to adding the wishlist button to my Site but for some reason it's not working. I added the code below for the button and also added name="add" to the form on the PROD page. When I click the wishlist button, I can see the form action url changed but the page doesn't redirect to WISH page. It just doesn't do anything. Am I missing something? Do I need to enable any items? I am not using URI

    Here is the code I've added.

    <div class="column whole np">
    <span data-mmnodisable="true">
    <span onClick="document.forms.add.action = '&mvtj:urls:WISH:secure;'; document.forms.add.elements.Action.value = 'ATWL';" class="small" data-icon="&#xe089;">
    <mvt:item name="buttons" param="AddToWishList" />
    </span>
    </span>
    </div>


    #2
    It should change the form action as well as the hidden input for Action. Then the form should submit normally. Is there a JS Error somewhere on the page?
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Thanks Brennan. The wishlist button was outside the form tag so it changes the parameters but no action. Thanks you though

      Comment

      Working...
      X