• Few words of introduction:
    So I have build a bit of complex system based on the plugin that allows to choose a diffident site theme for a single product (wp-content/themes).

    The Problem:
    When transferring the wpsc-single_product.php to the theme folder it’s being copied and used only from the main active theme. Even if a diffrent theme is choosen for a given product, the product template file is being pulled from the main active theme:

    Theme A uses Theme A wpsc-single_product.php(1)
    Theme B uses Theme A wpsc-single_product.php(1)

    What do I neeed:

    Theme A uses Theme A wpsc-single_product.php(1)
    Theme B uses Theme B wpsc-single_product.php(2)

    Any Ideas how to do this?
    I think I could wrap the main template in some conditional checks if theme A do this, if B do that – but at the end of the day the file would be quite large and affect load time.

    Any thoughts greatly appreciated.

    http://wordpress.org/plugins/wp-e-commerce/

  • The topic ‘wpsc-single_product.php's in theme folder’ is closed to new replies.