Subversion Repositories SmartDukaan

Rev

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

Rev 18738 Rev 18768
Line 516... Line 516...
516
						}
516
						}
517
					}
517
					}
518
					$this->layout = 'innerpages';
518
					$this->layout = 'innerpages';
519
					$next = $redirecturl;					
519
					$next = $redirecturl;					
520
					$redirectUrl = $this->getAutoLoginUrl($userId,$next);
520
					$redirectUrl = $this->getAutoLoginUrl($userId,$next);
-
 
521
					$redirectToCart = true;
521
					$this->log($redirectUrl,'headers');
522
					$this->log($redirectUrl,'headers');
522
					$this->set(compact('redirectUrl','next'));
523
					$this->set(compact('redirectUrl','next','redirectToCart'));
523
				}else{
524
				}else{
524
					$totalSkus= intval($dataGiven->totalSkus);
525
					$totalSkus= intval($dataGiven->totalSkus);
525
					setcookie('txn_comp', 'no', -1, '/');
526
					setcookie('txn_comp', 'no', -1, '/');
526
					$this->layout = 'innerpages';
527
					$this->layout = 'innerpages';
527
					$next = "payment?cq=".$totalSkus.'&addressid='.$addressid;					
528
					$next = "payment?cq=".$totalSkus.'&addressid='.$addressid;