an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Linking Dynamic page to a link image
Last Post 4/17/2014 2:02:46 AM By enki. 7 replies.
2/11/2010 10:00:05 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Linking Dynamic page to a link image
 Hi Luke.
 
How can I put a Dynamic page of product into the href link of the image
 
<div class="Share"
    style="height:25px; width: 160px; margin-left: 627px; margin-top: -50px;">
 <img src="../Images/share.jpg" width="15" height="15" alt="Share this page" /> Share This Page
 <br />
<a title="Share this on Twitter" rel="nofollow" style="color: rgb(22, 53, 63); cursor: pointer;" href="http://twitter.com/home/?status=http%3A%2F%2Fwww.intobiiz.com"><img src="../Images/twitter.png" alt="Twitter" id="Linkit" /></a>
</div>
 
Thanks,
2/11/2010 1:44:35 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Linking Dynamic page to a link image
Which dynamic page of product are you talking about? Is the url fixed?
DotShoppingCart Staff
2/11/2010 1:53:27 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Linking Dynamic page to a link image
The page of the product user is viewing, is it a Dynamic URL?
 
I have the link in Product Descriptor which is part of Product page, 
 
...... /Store/Product/01-0312.aspx
 
 
so by clicking the the image the url of product is sent,
 
 
2/11/2010 2:12:08 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Linking Dynamic page to a link image
Yes, the product page url is /Store/Product/[SKU].apsx .
DotShoppingCart Staff
2/11/2010 2:22:27 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Linking Dynamic page to a link image
Can I do it with
 
  href="http://twitter.com/home/status=www.intobiiz.com"
 
or should use a Jscript using onClick.
 
 do you have a sample code.
 
 
4/16/2014 7:57:12 AM
enki
Posts: 2
Joined: 4/16/2014
Re: Linking Dynamic page to a link image
Hi,
 
how can we change the url of product to be  /Store/Product/[Product-Name].apsx instead of  /Store/Product/[SKU].apsx
 
 
Thanks
4/16/2014 9:35:35 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Linking Dynamic page to a link image
No, it won't be easy without a huge customization. The reason is why? Why would you prefer long url instead of short one?
DotShoppingCart Staff
4/17/2014 2:02:46 AM
enki
Posts: 2
Joined: 4/16/2014
Re: Linking Dynamic page to a link image
The idea is that the url is more readble with "product-name" than "sku",  sku is just a random number, which doesn't say anything.
I think that ideal would be something like "product-name[sku]" which is unique and readble.(the user knows what is going to view)
I need to do some urlrewrite, i think, but the code it's a bit complicated.(compared with what usually I would do with urlrewrite ) 
If there is a way you could help me, at least telling me where shoud I interfere in code (being more specific what customization is needed)
 
Thanks