Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-16-2010 05:04:04

jonasaedin
Member
From: Edinburgh, UK
Registered: 02-15-2009
Posts: 70
Website

Pointing continue shopping target to the cms splash page

I found a solution to the problem where the 'Continue Shopping' target would go to the 'wrong' splash page.

The system operates with TWO splash pages, one for ECOM and one for the CMS.. if you set the continue shopping target to go to the Store Splash page it will send you to the ECOM version, showing all the main categories in a category view.

If you rather want to send your customers to the CMS landing page (the one you see under Website > Content > Webpages: splash) then you need to change a line in your 'Shopping Cart/Wish List Display' XHTML display include on page 2 of System > Displays > Display Includes.

Change the $link_shop variable as below:

Code:

if ($type == 'CART') {
          $link_shop     = $this->link_namespace('ecom','splash',array());
          $link_checkout = $this->link_namespace('ecom','checkoutfn',array());

to

Code:

if ($type == 'CART') {
          $link_shop     = $this->link_namespace('cms','display',array('ref' => 'splash'));
          $link_checkout = $this->link_namespace('ecom','checkoutfn',array());

Offline

 

#2 02-18-2010 15:36:00

Silentshadow64
Member
Registered: 02-08-2010
Posts: 8

Re: Pointing continue shopping target to the cms splash page

This works perfectly this was exactly what I was looking for, thanks for the post smile

Offline

 

#3 09-13-2010 22:46:41

Foto8Leo
Member
From: Pittsburgh PA USA
Registered: 05-27-2010
Posts: 42
Website

Re: Pointing continue shopping target to the cms splash page

Ditto.  Thanks for posting this!

Offline

 

#4 09-15-2010 07:52:56

KryptoJim
Member
Registered: 07-08-2010
Posts: 455

Re: Pointing continue shopping target to the cms splash page

Thanks for posting this for everyone, we really appreciate user submitted tutorials.

Offline

 

Board footer