bsmither 1,463 Posted November 29, 2020 Share Posted November 29, 2020 Let's add some messages. In /classes/gui.class.php, near line 1220, find: private function _displayPopularProducts() { Change to: private function _displayPopularProducts() { $GLOBALS['debug']->debugMessage('Just entered the _displayPopularProducts() function.'); Near line 1240, find: if ($products) { Change to: if ($products) { $GLOBALS['debug']->debugMessage('There are products to show.'); Near line 1275, find: $GLOBALS['smarty']->assign('POPULAR_PRODUCTS', $content); } } Change to: $GLOBALS['smarty']->assign('POPULAR_PRODUCTS', $content); } else { $GLOBALS['debug']->debugMessage('There were no products to show.'); } $GLOBALS['debug']->debugMessage('Leaving _displayPopularProducts() function.'); } Now, after requesting the Homepage, in the grey debug section, near the bottom, there will be a list of Debug Messages. Quote Link to post Share on other sites
radman420 0 Posted November 29, 2020 Share Posted November 29, 2020 Give me your email, and I will give you login info? I could not get that last step to work...no debug mode. I will donate, whatever it takes. Quote Link to post Share on other sites
bsmither 1,463 Posted November 29, 2020 Share Posted November 29, 2020 The problem was that there is an error in unreleased code (due for CC642). We ask that a moderator split this conversation where it no longer discusses the skin and make a new topic with it in Troubleshooting. Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 Hello again! After updating my CC to 6.4.2 and this amzin skin to 1.03, I am getting error message in admin>store settings>features, "Warning: It doesn't look like your current skin is compatible with whats3words.". I am also having a couple of bugs after the update... 1. The links "gift certificates" and "sale items" that normally appear over the search bar in the header, are not always appearing. They appear randomly. Sometimes yes, sometimes no. 2. The button "remove item" in the shopping cart does not work properly. When you click on it, it goes to 404 error page. Thanks RICH https://mybikerleather.com Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 Hey @radman The W3W compatibility notice in the admin panel is cosmetic - Providing you enter your W3W info it will work as intended. It's just in the admin panel it looks for a certain skin file to determine whether or not its compatible, however for the updates i approached it differently so the certain skin file isn't there. As for the other issues, i can only assume something might have been edited incorrectly during your update, i can't seem to load your site (503 Service Unavailable) at the moment so i can't check whats going on. 1 Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 Hey @radman Managed to load your site. Is the remove item link working if you switch to the foundation skin? Seems odd its not working, as the link appears to be correctly formatted and nothing has been changed to that link so not sure why you're getting the 404 error page. Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 The "remove item" button is also not working in foundation. I have another person working on that issue. But, the missing "gift certificate" and "sale items" link over the serch bar in the header is still intermittent. Most of the time it does not come up. I havent checked but I dont think foundation has those links, does it? And if not, that means its a skin issue? Let me know your thoughts...Thank You! Rich Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 @radman If it's intermittent i wouldn't say it was a directly a skin issue as the skin is set to either show the links or hide the links based on the information CubeCart sends. If you clear your site cache does it correct it or hide the ones in the main menu? Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 (edited) It corrects it (the ones in the header). The ones in the main menu never go away, clear cache or not. They have never failed. Every time I clear cache, the links appear in the header. The next click, they are gone until I clear cache again. Edited December 16, 2020 by radman Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 @radman Sounds odd, and maybe a caching issue but that wouldn't explain why it works then doesn't when you move page. You use cloudflare don't you? Does cloudflare cache your site? if so are you able to clear/purge the cache? Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 My host is Havenswift Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 @radman bare with me, i'll pop @havenswift-hosting a message to get his take on it. If it is a caching issue he'll know more about it. 1 Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 He is also trying to fix the "remove item" bug. 1 Quote Link to post Share on other sites
NiteFox 25 Posted December 16, 2020 Share Posted December 16, 2020 Hey @radman Pretty sure i have gotten to the bottom of it. Due to a recent change with CubeCart the Sale Items / Gift Certificates links don't appear to work in the way that they used to which in turn affects the way that i used them in the template. So, as a solution if you like them above the search box i would suggest you hard code them. If this is a route you would like to take please find the instructions below: in skins > amzin > templates > main.php around lines 74 - 79 find {if $CTRL_CERTIFICATES && !$CATALOGUE_MODE} <li><a href="{$URL.certificates}" title="{$LANG.navigation.giftcerts}"><i class="fas fa-gift"></i> {$LANG.navigation.giftcerts}</a></li> {/if} {if $CTRL_SALE} <li><a class="sale-link" href="{$URL.saleitems}" title="{$LANG.navigation.saleitems}"><i class="fas fa-tag"></i> {$LANG.navigation.saleitems}</a></li> {/if} and simply replace them with <li><a href="https://mybikerleather.com/gift-certificates.html" title="{$LANG.navigation.giftcerts}"><i class="fas fa-gift"></i> {$LANG.navigation.giftcerts}</a></li> <li><a class="sale-link" href="https://mybikerleather.com/sale-items.html" title="{$LANG.navigation.saleitems}"><i class="fas fa-tag"></i> {$LANG.navigation.saleitems}</a></li> Sorry for any inconvenience caused by this oversight. 1 Quote Link to post Share on other sites
radman 1 Posted December 16, 2020 Share Posted December 16, 2020 Awesome...Thanks for your help! Rich Quote Link to post Share on other sites
havenswift-hosting 203 Posted December 17, 2020 Share Posted December 17, 2020 I made those changes to your skin fo you straight away - you may need to remember them for future upgrades (to the skin) along with your other minor skin changes Quote Link to post Share on other sites
radman420 0 Posted February 23 Share Posted February 23 Hello again! I just noticed the picture gallery on the homepage of this demo. I am currently running this skin, and I never recall having the picture gallery. Not sure maybe I deleted it? I am wondering now if you could provide me with the info/code needed to put it back...? THANKS Rich Quote Link to post Share on other sites
bsmither 1,463 Posted February 23 Share Posted February 23 Please confirm that there are more than one image associated with a product being tested. 1 Quote Link to post Share on other sites
radman420 0 Posted February 23 Share Posted February 23 @bsmither ??? Quote Link to post Share on other sites
NiteFox 25 Posted February 23 Share Posted February 23 Hi @radman420 That slider is just a basic bxslider banner slider set in the document content for the homepage which you modify via your admin panel. Firstly create your banners and upload them to your site, for example (images > source > slide_001.png) Banners should be of equal size Then, go to your admin panel and in the left-hand menu go to File Manager > Documents Then, select the document for the homepage OR create a new document On the document content section click the "source" button in the left corner and create a slider box by adding : <ul class="bxslider"> </ul> If you want your banner to link to a page or product, then use the following structure within the ul element above : <li> <a href="#LINK HERE#"> <img src="#IMAGE SRC HERE#" /> </a> </li> Replace the following: #LINK HERE# -- with the url you want it to goto #IMAGE SRC HERE# -- with the image source which for the example would be something like --> images/source/slide_001.png Then, repeat for each slide. If you just want your banner to displayed with no link, then use the following structure within the ul element above : <li> <img src="#IMAGE SRC HERE#" /> </li> So, your final content will look something like the following for a slider with linked images: <ul class="bxslider"> <li><a href="http://www.google.com"> <img src="images/source/slide_001.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_002.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_003.png" /> </a></li> <li><a href="http://www.google.com"> <img src="images/source/slide_004.png" /> </a></li> </ul> Then click save, make sure the document is set for Homepage and that the status option is checked. Might need to clear your sites cache. And that should be it. 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.