Print Page | Close Window

Mobile Site title not working

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart Add-on's
Forum Name: Mobile Commerce Add-on
Forum Description: Discuss issues and suggestions related to the Mobile Commece Add-on for ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=4959
Printed Date: 19-April-2024 at 1:17pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Mobile Site title not working
Posted By: razor150
Subject: Mobile Site title not working
Date Posted: 25-January-2012 at 7:10pm
Love the addon, but for some reason I can't get the addon to see the title for the page.

Here is the mobile test page.
https://southshore.rings-things.com/cart/m/viewPrd.asp?idproduct=9039&idcategory=440

Here is the actual test page
https://southshore.rings-things.com/cart/pc/SmartBead-Gold-Filled-Bamboo-3x6mm-Limited-Stock-440p9039.htm

Was there a fix for this or did I miss some configuration to get it to work?

Thanks.



Replies:
Posted By: Greg Dinger
Date Posted: 25-January-2012 at 7:56pm
I think you are correct. I looked at a pair of mobile sites we built and they don't have a title tag either.
 
Looks like this is the issue/.  The following code appears in header.asp
if pcv_PageName<>"" then%>
<title><%=pcv_PageName%></title>
<%end if%>
 
However, pcv_PageName is not defined in include-metatags.asp, or anywhere else that I see on quick review.  EI, is there a fix here?
 
As we are in the midst of building a number of mobile stores (for example, http://www.tastefulgarden.com/store/m/" rel="nofollow - http://www.tastefulgarden.com/store/m/ ), and we've found other small issues with the mobile add-on, I'll share other thoughts. 
 
The following may help others who are working on their own, and I'm also hoping this post will help influence EI's direction on the next release of the code.
 
For starters, the M directory does not contain a mobile version of viewContent.asp.  We could link to that page in the PC folder, but desktop content pages are frequently built with large images, not suitable for display on a mobile browser.  Our approach is to create a copy of viewContent.asp, place that in the M folder, and alter it to reference the M version of the header. 
 
However, then we're confronted with the image size issue, so we are creating duplicates of the various content pages, and redesigning them (without large images), and these are the pages we point to in the M store.
 
I'm about to experiment with SEO-friendly URLs in the mobile store (which is not currently suported).  Since any folder can have a distinct 404-handler assigned to it, I will be copying the 404-related files to the M folder, and see if I can get SEO-friendly URLs to play nice in mobile. 
 
That takes us to the matter of links.  Products, categories and content pages may contain links to other pages in the desktop store.  So I'm considering a replace function that seeks out those "/productcart/pc/" links and points to the M "/productcart/m/" equivalents. 
 
In the above store, we coded into the footer the necessary logic to cause links to categories on the home page.  It would be nice if that were dynamic, and switch-selectable.  Also nice to be switch-selectable would be the category description which we added to another mobile store.
 
EI, I know ya'all are buried like the rest of us, but I hope that some of the above thoughts might give you some ideas about how to grow the application.
 


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Matt
Date Posted: 26-January-2012 at 1:11am
The meta tags are included in the latest version. Just check for updates in your control panel.  The 4.5 SP has a link to the mobile updates in the readme.


Posted By: Greg Dinger
Date Posted: 26-January-2012 at 9:42am
Will 4.5 MS work with 4.1 store base code?  I have enough mobile installs that we cannot upgrade the base stores to 4.5 fast enough, and would prefer not to wait for this.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net