Simplii Web
Forum Replies Created
-
I would also to see this feature working with WP-Ecommerce categories. Any updates on this yet?
Forum: Plugins
In reply to: [Gravity Forms + Stripe] Warning Array Key Exists Error …I tracked down the issue but not sure how to fix.
this line of code
if ( ( ! ( typeof address_line1 === ‘undefined’ ) ) &&
is coming out like this
if ( ( ! ( typeof address_line1 === ‘undefined’ ) ) &# 038;&
not sure what is causeing the && to change to HTML version, most likely a filter but i disabled the theme filter, perhaps a new wordpress filter?
Forum: Plugins
In reply to: [Gravity Forms + Stripe] Warning Array Key Exists Error …I’m have the same issue with Ajax disabled/enabled.
chrome console error-
Uncaught SyntaxError: Unexpected numberIm having the same problem, just started today
I was able to fix this on my own. here is how to do it.
WP eCommerce Version: 3.8.4
find file wp-ecommerce/wpsc-include/display.functions.php
around line 80 or serch for “$also_bought = $wpdb->get_results”
and replace the following:
$also_bought = $wpdb->get_results( "SELECT” . $wpdb->posts . “.* FROM” . $wpdb->posts . “WHERE” . $wpdb->posts . “.idIN (SELECT” . $wpdb->posts . “.post_parentFROM” . WPSC_TABLE_ALSO_BOUGHT . “,” . $wpdb->posts . “WHEREselected_product='" . $product_id . "' AND” . WPSC_TABLE_ALSO_BOUGHT . “.associated_product=” . $wpdb->posts . “.idAND” . $wpdb->posts . “.post_statusIN('publish','protected','inherit') ORDER BY” . WPSC_TABLE_ALSO_BOUGHT . “.quantityDESC) LIMIT $also_bought_limit", ARRAY_A );with this:
$product_variation_ids = $wpdb->get_results("SELECT ID FROM” . $wpdb->posts . “WHEREpost_parent= " . $product_id . " ANDpost_type` = ‘wpsc-product'” , ARRAY_A);
$variation_ids = ”;
foreach ($product_variation_ids as $ids)
$variation_ids = $ids[‘ID’] . “,” . $variation_ids;$variation_ids= $variation_ids . $product_id;
$also_bought = $wpdb->get_results( “SELECT
" . $wpdb->posts . ".* FROM" . $wpdb->posts . "WHERE" . $wpdb->posts . ".idIN (SELECT" . $wpdb->posts . ".post_parentFROM" . WPSC_TABLE_ALSO_BOUGHT . "," . $wpdb->posts . "WHEREselected_productIN ($variation_ids) AND" . WPSC_TABLE_ALSO_BOUGHT . ".associated_product=" . $wpdb->posts . ".idAND" . $wpdb->posts . ".post_statusIN(‘publish’,’protected’,’inherit’) ORDER BY" . WPSC_TABLE_ALSO_BOUGHT . ".quantityDESC) LIMIT $also_bought_limit”, ARRAY_A );`Doesnt look like this fix has been posted to the latest release. i just added it to my W3 plugin
Im using the same set-up as you. have you tried using the chrome developer console (press f12) and check the console tab for errors.
Zack fixed it with his last update 1.1
All Fixed on my end, thanks Zack!
I hope these posts go to the plugin creator, cause a fix would be nice