• I am having a weird issue with the e-commerce plugin. Actually I am having a few issues, outlined below any help would be appreciated, the store is up and working fine, they are more of formatting issues I think. The store isn’t that big yet so number 3 isn’t a huge deal but the first two are driving me crazy.

    1) If you go to the store page, the formatting is perfect as shown below:
    https://www.averageguygolf.com/store
    If you go to the product category pages, everything works fine as shown below: https://www.averageguygolf.com/store/drivers
    How ever if you go to the actual product page by clicking on the product title, the formatting is messed up like below:
    https://www.averageguygolf.com/store/drivers/taylor-made-r5-driver

    Any ideas why all the other pages would format properly but not that one?

    2) If you go to a product category page, it seems the last products title on that page, also appears as the page title.
    https://www.averageguygolf.com/store/drivers The first thing you read when you go to this page is Adams Speed line…. but the first product is a Taylor Made R5, the Adams Speed line happens to be the last product on the page. How come that is the somehow also placed above the TaylorMade product as a page title/header?

    3) Has to do with quantities in stock. If I post a product, put it as one in stock and make it live on the site, if someone clicks buy now but doesn’t go through with the purchase, it says that product is out of site for every visitor after that person. I am sure a lot of people hit buy now to make it to the next step to see how it works but don’t buy things, so just wandering if anyone else has come across this problem.

    Thanks
    Chris

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter KconleyK

    (@kconleyk)

    it keeps changing when I post, I am officially an idiot

    Can you post the full code for your single.php page on pastie?

    Thread Starter KconleyK

    (@kconleyk)

    Thread Starter KconleyK

    (@kconleyk)

    You should get what you want by changing:

    <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
          <?php the_title(); ?>
          </a></h2>

    to:

    <?php if( get_post_type() != 'wpsc_product' ){ ?>
       <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
          <?php the_title(); ?>
          </a></h2>
    <?php } ?>
    Thread Starter KconleyK

    (@kconleyk)

    Parse error: syntax error, unexpected T_ELSE in /home/xialo/public_html/chris/wp-content/themes/thatgolf-theme/page.php on line 16

    I get that error when I make that change

    Thread Starter KconleyK

    (@kconleyk)

    Actually I got it working, without the error but it didn’t fix the issue

    As I said it could be in one of a few files. Look for similar code in page.php and index.php and make the change.

    Thread Starter KconleyK

    (@kconleyk)

    yea I went into every page and made the change on pages I found that code, not sure what I am missing. Thanks for the help tho.

    You may not be missing anything, I have not really been able to look at your theme and how the files from WPEC are integrated with it. I may not be telling you to edit the right files, I just can’t say for sure.

    In theory you should be able to do it with CSS, but I can tell that the theme you purchased is missing the default body_class declaration so we can’t target the WPEC pages that way.

    Incidently, you’re theme should have body_class in in, so make the theme developer update it to include the proper code.

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘WP e-commerce Help’ is closed to new replies.