Jump to content

Amzin (Bootstrap Responsive Skin)


Recommended Posts

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.

Link to post
Share on other sites

  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

The developer will probably / should be releasing a new version of the skin to take account of all of the skin changes included in this recent version.  However, if you are using a modified version, t

Replied to your email. ūüĎć

Hi @radman420  Sounds odd, neither the CC6.4.1 update or the skin update would affect the visibility of the popular products section as from my knowledge nothing was changed in relation to that.

  • 3 weeks later...

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

Link to post
Share on other sites

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.

  • Thanks 1
Link to post
Share on other sites

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.

 

Link to post
Share on other sites

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

Link to post
Share on other sites

@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? 

 

Link to post
Share on other sites

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 by radman
Link to post
Share on other sites

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.

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...