If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
I am in the process of setting up an e-Commerce Gold Cart for a client who wants to use grid view. Now as I’ve said before this is a wonderful “plugin” (really it’s an extensive plugin) but if you want support you are either going to have to pay for it or count on the kindness of people who have gone before you and spend time on the forum. So when I ran across this problem:
Fatal error: Call to undefined function wpsc_product_url() in play casino game onlinevideo poker strategiestriple play video pokerblack jack online playvideo poker tournamentfree roulette game download,free roulette game,roulette game free onlineplay blackjackonline casino gambling sitefree online video pokerfree on line casinofree casino card gamelearn to play crapsadd casino link onlineinternet casino gameplaytech online casinoplay casino and slots free online,free online casino slots,online casino slotsonline casino black jackcasino craps gambling online,free casino craps,casino crapsblack jack gamblingfind online casinobaccarat learn play,play baccarat online,play baccarathow to win at rouletteonline casino blackjack,online casino gambling blackjack,casino blackjack betting onlineonline casino free bonuscasino guide,internet casino guide,online casino guidebest casino bonusvideo poker tournamentsfree video poker download10 best online casinovideo poker gamebackgammon game,free backgammon game download,free online backgammon gamefree online casino slotsonline casino promotionblack jack downloadroulette game free online,free online roulette,play roulette online freeplay free casino gamejacks or better video pokerfree online casino craps,free craps game,free crapsmicrogaming casino bonusgambling casino online bonusbonus video pokerno deposit free money casinointernet video pokerinternet casino gambling onlinefree video poker gamesonline roulette game,casino game online roulette,roulette game free onlineplay roulette onlinefree black jack gamefree online blackjack,online blackjack bonus,online blackjackbest online casino site grid_display_functions.php on line 47
I was really glad to find a link to this post by MichaelWender who had dissected the problem and figured out the bit of code that was need to fix the problem. The actual code comes from Instinct’s beta 3.6 version of their shopping cart which makes you wonder why they didn’t go back and stick it in the current version, but hey what are you going to do? Here’s what you need to do.
Take this code:
function wpsc_product_url($product_id, $category_id = null){
global $wpdb;
if(!stristr(get_option(’product_list_url’), “?”)) {
$initial_seperator = “?”;
} else {
$initial_seperator = “&”;
}
if(is_numeric($category_id) && ($category_id > 0)) {
$product_url = get_option(’product_list_url’).$initial_seperator.”category=”.$category_id.”&product_id=”.$product_id;
} else {
$product_url = get_option(’product_list_url’).$initial_seperator.”product_id=”.$product_id;
}
return $product_url;
}
and stick it in the product_display_functions.php file. If that seems daunting to you because you don’t usually work with code don’t let it be. Find the file in the main folder of wp-shopping cart. Open it, insert your cursor behind ”

















