WordPress.org

Ready to get started?Download WordPress

Forums

SP WPEC Variation Image Swap
Shortcodes don´t work on the variation (5 posts)

  1. Alatus
    Member
    Posted 5 months ago #

    Hi, thank you for your plugin, the image swap works perfectly.
    But I have another problem. Your plugin seems to not only change the images but also the text. This is what I want, but my shortcodes don´t work for the variation.
    For example: I have a product with the shortcode [tabs slidertype="top tabs"]... On a normal product without variations this gets transformed into html, but on a product with variations it just outputs the word "[tabs slidertype="top tabs"] into my frontend, which is obviously not what I wanted...

    Thanks if you have a solution for that

    http://wordpress.org/plugins/sp-wpec-variation-image-swap/

  2. Roy
    Member
    Plugin Author

    Posted 5 months ago #

    I am not entirely sure I know what you mean. But my plugin was only designed to work for single products page.

  3. Alatus
    Member
    Posted 5 months ago #

    Hi, thanks for your answer. I am using the plugin for single products page.

    Please have a look at this working example:
    http://protecsolar.com/products/filters/baader-1-25-inch-neutral-denisity-filter/

    On this product the image and the text switches perfectly when I select a different variation (we added some javascript to execute the first variation on load of the page)

    But if I add a shortcode on each of the variation, it is not getting rendered. Look at this example:
    http://protecsolar.com/products/filters/baader-2-inch-neutral-density-filter/
    Here I added the shortcode [learn_more]Content goes here[/learn_more]. Instead of rendering nice box which should be styled by css, it just puts the shortcode as plain text into my product description.

    Somehow the included shortcodes for all of the variation text should be rendered before the page is loaded. But I don´t know how to do that.

    Thanks for your help!

  4. Roy
    Member
    Plugin Author

    Posted 5 months ago #

    I am sorry but I am not sure how this is related to my plugin?

  5. Alatus
    Member
    Posted 5 months ago #

    Well, its done with your plugin and its not working correctly...

Reply

You must log in to post.

About this Plugin

About this Topic