Moreinfo page 'enhancement.'

Request and discuss enhancements to ShopSite

Moreinfo page 'enhancement.'

Postby rampage6 » Mon Aug 23, 2010 1:21 pm

Instead of generating an entire new single product page (that can't be escaped from without using the Backspace key) I'd like a small pop-up window EXACTLY like the window that pops up in ShopSite page preview mode, but simply containing my 'more info' text instead of the standard message:

"The more info pages are not generated in the preview mode
Click here to close"

A more info graphic isn't needed.
rampage6
 
Posts: 1
Joined: Wed Aug 04, 2010 8:59 am
Location: Pinckney

Re: Moreinfo page 'enhancement.'

Postby Jim » Mon Aug 23, 2010 2:03 pm

You could do that right now.

In the [-- DEFINE MORE_INFO_PAGE --] section of the product template create the moreinfo page layout that you want. Then in your product template where you have the link to the moreinfo page just do something like
<a href="http://your.domain.com/filename.html" target="_blank">More Information</a>
Or in ShopSite template code
<a href="[-- PRODUCT.MoreInfoURL --]" target="_blank">[-- Store.MoreDetails --]</a>

When the store is generated the moreinfo pages will be created. Access to them will be from a popup window instead of loading in the same browser window as the page they click the link on. The shopper would simply close the window to git rid of it but the main page they were looking at will still be visible. (Note that if the shopper has their browser set to open new windows in a tab they would have the moreinfo page in a tab not a new window) The [-- Store.MoreDetails--] pulls text that is set on Preferences > Store Text > Store Pages > More Details field. So you can change the text without changing the template.

The preview.cgi, that displays pages in the backoffice, is located in the store's ss directory which is password protected. Using it to display a page for the shopper would require that shopper have access to your store login in order to execute it and cause the page to display. (Not the most secure thing to do.)
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to Enhancement Requests

Who is online

Users browsing this forum: No registered users and 10 guests

cron