Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
alksys7
alksys7
I'm working on an iPhone app and I was wondering if there is a way to enable a "mobile" page for a product. The app I am working on will link directly to the product and not a full page or a category.
 
Is this available in the latest version of 3 or possibly even 4?
 
Thanks.
 
Ned
Ned
I havn't tried any of this but I think the difficulty is modifying the css for the particular product to create new mobile screen dimension. However the existing product information as you know is "wrapped" inside the page template which contains the header, footer etc. and defines the css used.
 
As its only one product and if you don't want to change it regularly (prices, specification etc) you could use a "dirty" method:
Load the product into a browser.
Look at the source and save it as a file.
Create a new mobile.css file to the new mobile sizes.
Change the saved page css definition to look at the mobile.css.
Save the modified html page back in the site root and link to that?
 
However reading between the lines as its an "app" you are writing this implies a download so another method would be to create a virtual host and use the multisite feature in V3 or V4 to duplicate the product to this site and use a site wide "mobile" css which gives you full control over the site layout and allows other products to be created for other "apps".
HTH
Last modified: 8 Nov 2010 11:35 AM