Hi Ian
The new one works great. But i have one question. If i disable cookis in my browser everything is fine, but if i try to add a product to the shopping cart i get an error. If i refresh the site.....No product in the basket.......
Thats correct for google and friends, bur whats happend if a customer disabeld cookies in his browser?
Must i change the buy now button into form? I find no session id?
And where is the addon to change the buy now. I can't find it
May the bug is in my shop. If i try to change the site after page is full loaded i get also an error. After refresh all is fine.......
I'm not shure that my application tio is correct.
require(DIR_WS_CLASSES . 'breadcrumb.php');
$breadcrumb = new breadcrumb;
$breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER);
$breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));
//================================================================
if ( ($HTTP_GET_VARS['currency']) ) {
tep_session_register('kill_sid');
$kill_sid=false;
}
if (basename($_SERVER['HTTP_REFERER']) == 'allprods.php' ) $kill_sid = true;
if ( ( !tep_session_is_registered('customer_id') ) && ( $cart->count_contents()==0 ) && (!tep_session_is_registered('kill_sid') ) ) $kill_sid = true;
if (basename($PHP_SELF) == FILENAME_LOGIN ) $kill_sid = false;
//================================================================
Thanks