WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-Ecommerce] Latest Products Widget (1 post)

  1. triplemoons
    Member
    Posted 4 years ago #

    I posted this on Instinct and didn't receive a response. I'm hoping to get something from someone on here...

    Basically I want the products in the Widget to link to the category they're in and not the product page (I don't use the single product pages).

    Code in question:

    $output.="			<a href='".wpsc_product_url($special['id'],$special['category'])."'>";
    			if(($special['image'] > 0)) {
    				if(get_option('wpsc_selected_theme') == 'marketplace') {
    					$src = WPSC_IMAGE_URL.$special['image'];

    I know href='".wpsc_product_url($special['id'],$special['category'])."' is what needs edited. I just don't know to what.

Topic Closed

This topic has been closed to new replies.

About this Topic