Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that script looks ok to me, except maybe that you didn’t fill in your affiliate ID.

    Can you maybe post the link to the page with the table where this is not working?

    Regards,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    I did put in my affiliate ID but for the purpose of showing it here in place of my affiliate ID i just put in aff.id What shows up is just a blank table.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok, thanks for the explanation.

    Still: Please post the link to the table, as I can then investigate this for JavaScript errors.

    Thanks,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    Ok will get on it. I have to recreate the entire thing cos I deleted everything. Should not take long.

    Thread Starter jackiebk

    (@jackiebk)

    The link is https://bestclothdiapersreviews.com/all-about-cloth-diapers/152/

    Also how do I get rid off what is on top “show 10 entries” (I want the search button)
    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for this. As it seems, there are some manual line breaks in the JS code from Amazon. Can you please try to remove those? The code should be in one line of text (except for those line breaks that get added automatically due to the width of the cell being smaller than the text). A good way to to this is to drag the cell bigger by clicking the lower right corner (should work in all modern browsers).

    To get rid of the “Show 10 entries” dropdown, please see the “DataTables JavaScript features” section below the table input fields on the “Edit” screen. You uncheck the unwanted features here. This is the “Length Change” feature.

    Regards,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    So basically all I have to do for my first problem is just drag the cell bigger. I did that but when I click save and go back it goes back to the original setting.
    Thanks
    Jackie

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Jackie,

    no ?? What I meant with that: Drag the cell bigger, and then remove all the line breaks, so that the code is in one line only, without any line breaks.

    Regards,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    The table in the following link is what I want to achieve https://3dtvreviews.org/3d-tv-comparison/

    Thread Starter jackiebk

    (@jackiebk)

    Yes I did exactly that but when I save and go back the box comes back to the same original size and the table is still blank

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ah, yes, no the line breaks are gone ?? Good! (And yes, it’s expected that the size of the text field returns to its original size, this is not a problem.)

    This is now all we can do from WP-Table Reloaded’s point of view. Unfortunately, I’m not sure, why it is still not working. Very likely this is connected to some JavaScript errors that I can see in the debug console, which are raised by that script from Amazon.
    There was a very similar problem a few days ago: https://www.ads-software.com/support/topic/plugin-wp-table-reloaded-insert-image-wont-except-html-code

    It seems that the Amazon scripts show some weird/wrong behavior at this time…

    Oh, and I also checked the site which shows what you want to achieve: They do this in a different way (without the not-working script): They directly embed the images and then add the buttons as direct links to the Amazon pages (with their affiliate ID included of course).

    Regards,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    Hi Tobias,
    I guess I will have to do it the same way this guy does it.

    Really appreciate the prompt reply.

    Many Thanks
    Regards
    Jackie

    Thread Starter jackiebk

    (@jackiebk)

    Hi Tobias,
    I have been looking at the website I put up the one I want to replicate. I have been trying for about 4 hours now but just cannot get around to doing it. If you can help me in any way I would be really grateful. Many thanks

    Jackie

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Jackie,

    I would love to help, but I’m not really sure how I can ??

    I think that you will need to find other ways of integrating Amazon, i.e. not any of their dynamic widgets, but some static links to the product. Then you use that link in your table, with a button image instead of regular link text. That’s how the other site does it.

    Regards,
    Tobias

    Thread Starter jackiebk

    (@jackiebk)

    I am completely lost ??

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: WP-Table Reloaded] How do I add a "Add Product Preview Script"’ is closed to new replies.