Paul Sweeney
Forum Replies Created
-
Forum: Plugins
In reply to: [WP eCommerce] WP Ecommerce – manage image errorthat’s ok..
the file is wpsc-product_page.php
just run a search for wpsc_the_product_title() then wrap it w/ strip_tags();
example:
strip_tags( wpsc_the_product_title( ) );
Forum: Plugins
In reply to: [WP eCommerce] purchase-log.class.php on line 166 errorworkaround for this bug would be
replacing the code on lines 165-166 in /home/thegca/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/purchase-log.class.php with:
if(isset($prod_meta['sales'])) $stats['sales'] += $prod_meta['sales']; if(isset($prod_meta['earnings'])) $stats['earnings'] += $prod_meta['earnings'];
then make sure the sales and earnings are adding up correctly.
Forum: Plugins
In reply to: [WP eCommerce] product commentyes, it’s possible by inserting this code in your wpsc-single_product.php
comments_template();
Forum: Plugins
In reply to: [WP eCommerce] Problem with Checkout going to Paypalchecking in w/ you. I’m more glad to assist you to resolve this ASAP.
Forum: Plugins
In reply to: [WP eCommerce] cart widget showing submit button instead of reset??it happens when css file is missing..
add a css line to your templates like this..
.shopping-cart-wrapper .remove_button { background:url(wpsc-images/delete.png) no-repeat scroll 0 4px transparent; width:14px; text-indent:-9999px; border:none; outline:none; *line-height:1; cursor:pointer; }
otherwise you can go into wpsc-cart_widget.php and look for this input tag:
<input class="remove_button" type="submit" />
change it to
<input class="remove_button" type="submit" value="Remove" />
Forum: Plugins
In reply to: [WP eCommerce] WP Ecommerce – manage image erroras I mentioned about wpsc-product_page.php
I wrote test code for you..
so you can see the difference, your problem is w/ <span> tag in your product_title area. I’m not sure about your level of php. but it’s a starting point for you to figure it out.
if you couldn’t figure out the span tag. I suspect that there’s filter applying to this..
such as
apply_filter(“the_title”);you can fix this by doing strip_tags( ); function
example here:
<?php echo strip_tags(wpsc_the_product_title()); ?>
Forum: Plugins
In reply to: [WP eCommerce] WP Ecommerce – manage image errorcheck wpsc-product_page.php template.. the original code is
<?php if(wpsc_show_thumbnails()) :?> <div class="imagecol" style="width:<?php echo $image_width; ?>;" id="imagecol_<?php echo wpsc_the_product_id(); ?>"> <?php if(wpsc_the_product_thumbnail()) : ?> <a rel="<?php echo wpsc_the_product_title(); ?>" class="<?php echo wpsc_the_product_image_link_classes(); ?>" href="<?php echo esc_url( wpsc_the_product_image() ); ?>"> <img class="product_image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php echo wpsc_the_product_title(); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo wpsc_the_product_thumbnail(); ?>"/> </a> <?php else: ?> <a href="<?php echo esc_url( wpsc_the_product_permalink() ); ?>"> <img class="no-image" id="product_image_<?php echo wpsc_the_product_id(); ?>" alt="<?php esc_attr_e( 'No Image', 'wpsc' ); ?>" title="<?php echo wpsc_the_product_title(); ?>" src="<?php echo WPSC_CORE_THEME_URL; ?>wpsc-images/noimage.png" width="<?php echo get_option('product_image_width'); ?>" height="<?php echo get_option('product_image_height'); ?>" /> </a> <?php endif; ?> <?php if(gold_cart_display_gallery()) : echo gold_shpcrt_display_gallery(wpsc_the_product_id(), true); endif; ?> </div><!--close imagecol--> <?php endif; ?>
Forum: Plugins
In reply to: [WP eCommerce] Problem with Checkout going to Paypalto repair database table: use this plugins
Forum: Plugins
In reply to: [WP eCommerce] Problem with Checkout going to Paypalbtw, contact Faar, he got a solution that are working..
he mentioned about adding database structure and it work at his end.
My solution is long way around.. but it works. if u still need my help.. Let me know.. after u hear from Faar.. and let me know too..
Thanks ??