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 69
  • 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. ūüĎć

Hey @radman420 Just checked your site and theres no trace of the missing box so i can only assume that no data is been passed to $POPULAR used for it. Does it reappear if you switch to the f

  • 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
  • 2 months later...

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

Link to post
Share on other sites
 
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.
 
  • Thanks 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...