Support » Plugin: Free Downloads WooCommerce » “Download” Button In Wrong Location (Help Needed)

  • Resolved zonnovate

    (@zonnovate)


    Hello, I recently downloaded your plugin and its really great overall and exactly what I was looking for. However there seems to be some mis communication between my theme and this plugin. Firstly the Download button is not replacing my normal Add to cart button’s location and instead is going underneath all my info on the right.

    https://dev.modeldezign.com/shop/

    Normal Paid Product Page: https://i.imgsafe.org/8e/8e921845d3.png
    Free Downloadable Product Page: https://i.imgsafe.org/8e/8e9219d59e.png

    Secondly when you go to shop and press “quick view” on a product (btw the quick view functionality already came with the theme) there is no “Download” button which should have replaced the “Add To Cart” button that is there for normal products but instead there is nothing?

    https://dev.modeldezign.com/shop/

    Normal Paid Product Quick View: https://i.imgsafe.org/8e/8e88c49632.png
    Free Downloadable Product Quick View: https://imgsafe.org/image/8e85e79295
    How to access quick view: https://i.imgsafe.org/8e/8e8e1d5766.png

    I have a feeling that because my theme has a few different product layouts probably containing different elements that the plugin doesn’t know what Add To Cart button it should replace and chooses the default one which is the wrong one in my case?

    I would be extremely grateful if you could checkout my site and see what code I can add to fix these issues. You have an amazing plugin and I will definitely be considering getting the pro version once I start making sales on my site.

    Best Regards.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author Richard Webster

    (@rwebster85)

    Looks great mate well done! You can change the text in the plugin settings. In the “Multiple Files” section, where you originally changed the display method to checkboxes.

    The CSS will be easy so don’t worry about that, I’ll take a look when I get on my computer later today 🙂

    Plugin Author Richard Webster

    (@rwebster85)

    Product isn’t free anymore mate! Set it to free so I can do the CSS.

    Plugin Author Richard Webster

    (@rwebster85)

    Try this

    .somdn-checkbox-form .somdn-form-validate + .somdn-checkboxes-wrap {
    	border-top: 1px solid #ebebeb;
    }

    Thanks that worked great! I am trying to execute the JS code bellow that replaces the old list of files with your free download list. But I only want to execute this code if the product is free (which i do not know how to check for) or whenever your .somdn-download-wrap is visible/displayed. Because when it’s displayed that means the product must be free.

    This code only seems to work when I am in the customize wordpress editor, but when I press save it doesnt work?

    if ($('.somdn-download-wrap').is(":visible"))
    {
         jQuery(".block-info.mgb30.overlay_bg.pd30.list-files.btb.nitro-line        
         .product_meta").replaceWith(jQuery(".somdn-download-wrap"));
    }

    Sorry never mind I replaced the $ sign with jQuery and it worked, not sure why but its good now haha.

    Plugin Author Richard Webster

    (@rwebster85)

    Looks like you’re all sorted 🙂 looks great as well.

    Would you mind changing your review score for the plugin at all mate?

    Yeh sure I don’t mind changing it, I still need to figure out how I can add the download button form to the quick view pop-up because it doesn’t seem to be working. I think i read somewhere that your not allowed to move elements to a pop-up in javascript? So do you have any suggestions about that?

    Also because I have it that you need to register to download free models, how can I see what registered user downloaded what product?

    Thanks, will be changing my review soon.

    Plugin Author Richard Webster

    (@rwebster85)

    I’d need to see the theme files to help you with that.

    The Pro Edition let’s you track downloads in greater detail 🙂

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘“Download” Button In Wrong Location (Help Needed)’ is closed to new replies.