Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Maeve Lander

    (@enigmaweb)

    Do you mean you want to show the product name instead of “Product Description” text which appears on all products currently?

    Thread Starter Photonica

    (@photonica)

    Hi Maeve,

    No, I want to show both, the producr description and the product name.

    Plugin Author Maeve Lander

    (@enigmaweb)

    In that case sorry, no not possible ‘out-of-the-box’. If you’re comfortable modifying the code then it would not be too hard to customise it to do this.

    I found this out …

    in singlewpcproduct.php look for this code

    if(is_single()){
    	$pname	=	'>>'.get_the_title();
    }

    just add the second line

    if(is_single()){
    	$pname	=	'>>'.get_the_title();
    	$product_name  =  get_the_title();
    }

    after this look for

    <h4>Product Details  <?php if($product_price): ?><span class="product-price">Price: <span><?php echo $product_price; ?></span></span><?php endif; ?></h4>
    <article class="post">

    and change it to

    <h4><?php echo $product_name; ?> <?php if($product_price): ?><span class="product-price">Price: <span><?php echo $product_price; ?></span></span><?php endif; ?></h4>
    <article class="post">
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product name in product page’ is closed to new replies.