Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter hanully

    (@hanully)

    Krzysztof,

    Thanks!!!! it works!!!!!
    😀
    I am so glad.
    Thank you very much for your help!!!

    Thread Starter hanully

    (@hanully)

    oh, as I also see, the file is crashed with previous “woo commerce” plugin.
    how do i fix this?
    copy&paste original file?

    Thread Starter hanully

    (@hanully)

    Hi Krzytsztof, really appreciate your help.
    please sees below.

    <?php
    global $product;
    $_product = $product;
    $link = get_permalink($post->ID); ?>

    <div id=”product-<?php the_ID(); ?>” <?php post_class(); ?>>
    <?php do_action( ‘woocommerce_before_single_product’, $post, $_product ); ?>

    <div class=”product-top clearfix”>
    <!– Show the Images –>
    <div class=”product-images”>
    <?php do_action( ‘woocommerce_before_single_product_summary’, $post, $_product ); ?>
    </div>

    <!– Show the Product Summary –>
    <div class=”purchase-options-container”>
    <div class=”product-price”>
    <?php do_action( ‘woocommerce_single_product_summary’, $post, $_product ); ?>
    </div>
    <?php if( get_option(“ocmx_social_tag”) !=”” ) : ?>
    <span class=”social”><?php echo get_option(“ocmx_social_tag”); ?></span>
    <?php elseif( get_option(“ocmx_meta_social_post”) !=”false” ) : // Show sharing if enabled in Theme Options ?>
    <ul class=”social”>
    <li class=”addthis”>
    <!– AddThis Button BEGIN –>
    <div class=”addthis_toolbox addthis_default_style “>




    </div>
    <script type=”text/javascript” src=”http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-507462e4620a0fff”></script&gt;
    <!– AddThis Button END –>

    <?php endif; ?>
    </div>
    </div>

    <?php do_action( ‘woocommerce_after_single_product_summary’, $post, isset($_product) ); ?>
    </div>

    Thread Starter hanully

    (@hanully)

    oki-

    I am now into the directory and the single-product.php coding is as below.

    What do you want me to do in here?

    <?php
    /*
    Template Name: Shop
    */
    get_header(); ?>

    <?php get_template_part(‘/functions/page-title’); ?>
    <div id=”crumbs-container”>
    <?php ocmx_breadcrumbs(); ?>
    </div>

    <div id=”content” class=”products-single clearfix”>
    <div id=”left-column”>
    <?php if (have_posts()) :
    while (have_posts()) : the_post(); setup_postdata($post);
    get_template_part(“/functions/product-view”);
    endwhile;
    else :
    get_template_part(“/functions/post-empty”);
    endif; ?>
    </div>
    <!– Begin Sidebar –>
    <?php get_sidebar(); ?>
    </div>

    <!– Begin Footer –>
    <?php get_footer(); ?>

    Thread Starter hanully

    (@hanully)

    The only “single-product.php” file I could find was under below directory,
    wp/wp-content/plugins/jigoshop/templates/single-product.php

    where is the directory you mentioned above? (templates/yourtheme/jigoshop/single-product.php)

    and do you mean copy&paste this code in the file you mentioned, into “single-product.php” ?

    Sorry, I am trying to follow up your guide.

    Thread Starter hanully

    (@hanully)

    Hi Krzysztof!

    Thanks for the reply,

    nope, I haven’t changed anything..

Viewing 6 replies - 1 through 6 (of 6 total)