Subversion Repositories SmartDukaan

Rev

Rev 13558 | Rev 13599 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13558 Rev 13561
Line 64... Line 64...
64
				$url = $storeProduct['StoreProduct']['url'];
64
				$url = $storeProduct['StoreProduct']['url'];
65
			}
65
			}
66
			if( strpos($url, '?') === false ) {
66
			if( strpos($url, '?') === false ) {
67
				$firstChar = '?';
67
				$firstChar = '?';
68
			} else {
68
			} else {
69
				$firstChar = '=';
69
				$firstChar = '&';
70
			}
70
			}
71
			$url .= $firstChar.$store['Store']['affid_param'].'='.$store['Store']['affiliate_id'];
71
			$url .= $firstChar.$store['Store']['affid_param'].'='.$store['Store']['affiliate_id'];
72
			if(!empty($store['Store']['sub_tag_param'])){
72
			if(!empty($store['Store']['sub_tag_param'])){
73
				$url .= '&'.$store['Store']['sub_tag_param'].'='.$tag;
73
				$url .= '&'.$store['Store']['sub_tag_param'].'='.$tag;
74
			}
74
			}