Mobile Version not updating products
ZC Version: v1.5.5e
PHP Version: 5.5.38
My client's site has a separate directory for the mobile version of the site "/m"
I am updating a few products but I notice that the mobile product page does not seem to be applying my changes.
See the two pages below, one with /m in the url and one without. Same product, but the desktop version has a working image and I have added "test" to the description. These changes are not showing on the mobile version.
This is my first encounter with zen-cart so please excuse my ignorance if I am missing something obvious.
Mobile page:
http://beautifulquiltfabric.net/m/in...oducts_id=2801
Desktop page:
http://beautifulquiltfabric.net/inde...oducts_id=2801
Re: Mobile Version not updating products
The desktop site is looking for the image in "https://beautifulquiltfabric.net/images/1/2801.jpg", while the mobile site is looking for "http://beautifulquiltfabric.net/images/2801".
Notice the missing sub-directory "1".
Re: Mobile Version not updating products
The implementation of the particular mobile "template" is not "standard" for ZC. I use quotes here a bit because it all could be relative about what is normal and how to implement a template.The ZC system was designed though to use a templates directory in which the design, look, layout, and functionality of the store could be modified to suit the template. This one looks like it inserts itself in a few atypical areas, uses the default template, javascript (jquery or the like), and based on the report of having modified page content it may have its own cache for the mobile pages. Generally speaking, would suggest seeking assistance from the template author and/or trying to figure out how this template has modified the store so that it might be possible to figure out what is needed to trigger an update of the page content (besides the "obvious" wrong image path that was pointed out by comparison of the two).
Re: Mobile Version not updating products
Quote:
Originally Posted by
Design75
The desktop site is looking for the image in "https://beautifulquiltfabric.net/images/1/2801.jpg", while the mobile site is looking for "http://beautifulquiltfabric.net/images/2801".
Notice the missing sub-directory "1".
This was actually another trick I did to try and get the image to load. The image is actually in both the /images folder and the /images/1 folder. The client originally forgot to upload the file with .jpg on the end, so both images were broken when I started. I was able to fix the desktop version but the mobile just won't change.
The first thing I thought of was some kind of trigger/function for the mobile theme to pull new data, or the mobile version had a separate cache. But the only thing inside /m/cache is an index.php file.
This person is not in contact with the original devs anymore, so I will just have to buckle down and figure it out, haha.
Re: Mobile Version not updating products
I'm confused at how shopgate got munged in with the zen cart. https://www.zen-cart.com/showthread....art-in-any-way
Even their article of May 2, 2017 says that they are proud to offer a plugin for Zen Cart 1.3.5:shocking:
Google shopgate Zen Cart for possible help
Re: Mobile Version not updating products
Quote:
Originally Posted by
dbltoe
That is interesting. Like I said this is my first experience messing around in Zen Cart. It seems if I load the regular site 640px and under it redirects to example.shopgate.com. This may be a whole other situation to address. Two mobile versions, one using an external service? :wacko:
Like I said I didn't develop the site, just cleaning some errors up for a client and fix some broken links.
Re: Mobile Version not updating products
If anyone finds this is the future, the mobile subdirectory was using it's own configuration.php file, which was connected to an older database. I just had to change the db info and all is well.
Re: Mobile Version not updating products
Zen Cart has no mobile sub-directory out of the box:shocking:
Looks like you have one version in the root and one in /m/:shocking: