Changeset 424122
- Timestamp:
- 08/16/2011 09:39:16 AM (15 years ago)
- Location:
- liftsuggest/trunk
- Files:
-
- 2 edited
-
liftsuggest.php (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
liftsuggest/trunk/liftsuggest.php
r413842 r424122 61 61 $curr_sku = mysql_real_escape_string($wpsc_query->product['id']); 62 62 $product_price = mysql_real_escape_string($wpsc_query->product['price']); 63 $product_price = trim(preg_replace("/[^0-9\.]/", "", $product_price),"."); 63 64 } 64 65 else … … 105 106 $curr_sku = mysql_real_escape_string($wpsc_query->product['id']); 106 107 $product_price = mysql_real_escape_string($wpsc_query->product['price']); 108 $product_price = trim(preg_replace("/[^0-9\.]/", "", $product_price),"."); 107 109 } 108 110 else … … 222 224 } 223 225 } 224 226 if(!isset($_SESSION['reco_prods'])) 227 { 225 228 $_SESSION['reco_prods'] = array(); 229 } 226 230 foreach($reco as $key1=>$value1){ 227 231 $reco_group .= get_prod_info($value1['sku'],$cart,$add_to_cart); -
liftsuggest/trunk/readme.txt
r413840 r424122 5 5 Requires at least: 2.0.2 6 6 Tested up to: 2.1 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 9 9 Liftsuggest is a product recommendation system based on your Google analytics data. It works with WP - Ecommerce plugin. … … 40 40 4. If you are using traditional google analytics tracking please include the following code before pageTracker._trackPageview() call and after var pageTracker = _gat._getTracker("UA-xxxxxx-x") in your template (ideally it is YOURSTOREPATH\wordpress\wp-content\themes\twentyeleven\footer.php) 41 41 42 43 42 == Frequently Asked Questions == 44 43 … … 60 59 61 60 61 62 62 == Screenshots == 63 63 … … 76 76 * Enabled tracking using Google Analytics Custom Variable 5 on Page Level on product pages to show how much additional $ benefit Liftsuggest has brought to your store. 77 77 78 79 78 = 1.0.2 = 79 * Recomendation percentage updated
Note: See TracChangeset
for help on using the changeset viewer.