• Alatus

    (@alatus)


    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

    https://www.ads-software.com/plugins/sp-wpec-variation-image-swap/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Roy Ho

    (@splashingpixelscom)

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

    Thread Starter Alatus

    (@alatus)

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

    Please have a look at this working example:
    https://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:
    https://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!

    Plugin Author Roy Ho

    (@splashingpixelscom)

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

    Thread Starter Alatus

    (@alatus)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcodes don′t work on the variation’ is closed to new replies.