WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Related Products
[resolved] Not working on Elegant Theme (9 posts)

  1. ccolotti
    Member
    Posted 2 years ago #

    This does not seem to work at all on the Boutique theme from Elegant Themes.

    http://wordpress.org/extend/plugins/wpec-related-products/

  2. Onnay Okheng
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. Sampheap
    Member
    Posted 2 years ago #

    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(); ?>
  4. Sampheap
    Member
    Posted 2 years ago #

  5. Sampheap
    Member
    Posted 2 years ago #

    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

  6. mgason
    Member
    Posted 2 years ago #

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

  7. mgason
    Member
    Posted 2 years ago #

    Apologies the options showed up after reloading the backend

  8. beerwin
    Member
    Posted 2 years ago #

    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?

  9. Onnay Okheng
    Member
    Plugin Author

    Posted 1 year ago #

    closed!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic