Print Page | Close Window

Can't link to specific Categories or Products

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=6048
Printed Date: 27-April-2024 at 12:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Can't link to specific Categories or Products
Posted By: MGatESS
Subject: Can't link to specific Categories or Products
Date Posted: 15-December-2015 at 4:57pm
Have version 4.7M of ProductCart.

I have always been able to take the URL of a category or product page and make a hyperlink to it from a non-ProductCart page.

I am trying to make links to products and categories in the Mobile (/m) Add-on with a JavaScript that will do an "if/else" condition to send to either the main PC page (for computer screens) or for smaller resolutions, it'll go to the mobile section of PC.  However, unlike the main (/pc) section of PC, I can't get the hyperlinks to bring up the correct code/link.  When it goes into the browser, it loses the part of the URL that directs PC to the desired product page or category (the '?idCategory=[category number]') and defaults to the general list of top categories.

How do I correct this result??? Cry

Annotated screen shots:

Code....
The result in the browser URL line:



-------------
~ Mark G.

ESS, Inc. - http://www.endoscopy.com/" rel="nofollow - www.endoscopy.com



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