Random Product Widget Categories Bug
-
I there,
i found out a small bug on the Random Product Widget Plugin.
the behaviour is getting wrong product urls when the product is under a category.in the code I found:
$random_product_category_nice_name = $wpdb->get_var(“SELECTnice-name
FROM $wpsc_product_categories WHEREid
= $random_product_id”);and I fixed changing it to:
$random_product_category_nice_name = $wpdb->get_var(“SELECTnice-name
FROM $wpsc_product_categories WHEREid
= $random_product_category”);hopefully it’ll be included on the next release!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Random Product Widget Categories Bug’ is closed to new replies.