Support » Plugin: WP e-Commerce Related Products » [Plugin: WP e-Commerce Related Products] Not working on Elegant Theme

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Onnay Okheng

    (@onnayokheng)

    Hmmm.. I think it because the Boutique don’t include the action function. Check in wpsc-single_product.php is any script do_action in there?

    Best regard,
    Onnay Okheng

    Sorry to hijack, but mine only working when choosing ‘Display on All’. But this will also show related product in product category page. How to make display in ‘Single Product’ work?

    I tried putting <?php on_wpec_related() ?> to single_product.php, but it just look not right.

    Here where to insert it to look right?

    <?php get_header(); ?>
    <section id="content">
    	<div class="container_12">
    	<?php if(!is_single()): ?>
    		<div class="grid_3 side_col_left">
    			<?php if ( ! dynamic_sidebar( 'Store Page Sidebar' )) : ?>
    
    			<?php endif; ?>
    		</div>
    	<?php endif; ?>
    		<div class="grid_9 cont_col">
    
    			<?php if ( ! dynamic_sidebar( 'Banner Holder' )) : ?>
    
    			<?php endif; ?>
    
    	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    						<?php the_content(); ?>
    	<?php endwhile; ?>
    		</div>
    		<?php if(is_single()): ?>
    		<div class="grid_3 side_col_left">
    			<?php if ( ! dynamic_sidebar( 'Store Page Sidebar' )) : ?>
    
    			<?php endif; ?>
    
    		</div>
    	<?php endif; ?>
    
    		<div class="clear"></div>
    	</div>	
    
    </section>
    <?php get_footer(); ?>

    OK found the fix:

    The “Display on” option in WP Dashboard > Products > Coupons > Related Products > must be set to manual and the following code must be placed right after the description function in wpsc-single_product.php of the theme files.

    <?php on_wpec_related() ?>

    Here is the picture if you need to see where: http://screensnapr.com/v/jPYCv6.jpg

    mgason

    (@mgason)

    There is no related products settings? WP Dashboard > Products > Coupons > Related Products ?

    mgason

    (@mgason)

    Apologies the options showed up after reloading the backend

    beerwin

    (@beerwin)

    Hi there, i would like to bump this up.

    I’m also using the Boutique theme From Eleganttheme on one of the projects we are developing, and this plugin doesn’t work with that theme.

    The theme files are calling the actions needed by the plugin, so it’s not that.

    Can you check it please?

    Plugin Author Onnay Okheng

    (@onnayokheng)

    closed!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP e-Commerce Related Products] Not working on Elegant Theme’ is closed to new replies.