Opencart Shopping Cart button not working - opencart

I am using OpenCart Version 1.5.4.
You can find my dev site here:
http://50.87.186.42/
My problem is that when I click on the Green Shopping Cart button under the logo on the home page (or in the header on the sub pages) the shopping cart drops down for a split second (if you have items in there they will show, if not it will say that it is empty) and then both the short drop down menu and the button disappear. This happens in both Chrome and Firefox.
Can help me find out why this may be happening?
Thanks in advance,
Matt

The issue is that you are getting an error in the ajax cart code.
Fatal error: Call to a member function getOptionSpecialProductId() on a non-object in /home1/garrysun/public_html/vqmod/vqcache/vq2-catalog_controller_module_cart.php on line 64
The most likely cause is a vQmod file that's affecting the specials/options

Related

Menu loads first as list then menu

My page is: https://www.svelysium.net/ And one can see the menu as a list flash first then display correctly. I'm testing visibility:none in the CSS for the div and then wanting to do an onload later for the visibility after the page loads so I don't get that menu flash. I've not put it up live because I can't seem to get it right. Sorry I can't find any examples of this issue and how to solve it and I have been trying to keep it simple. There must be an easy fix. Thanks in advance.

opencart checkout not expand,just show the 6 steps

Hi i have problem with opencart 1.5.6.4,my checkout dont like to expand and to show register or login when you proces to buy the product just,show the 6 step whit out to expand,The buttons at the one-page checkout are not expanding. If u visit this link: http://imeibox.com/index.php?route=checkout/checkout u can see there is not button are not doing anything, so we cannot fill in any information or select any options. Is there a simple solution for this problem or is there bad coding behind those buttons?
kind regards
GEORGI
Well this looks like it could be anything.
First thing that comes to mind,have you added a Jquery library to the header.tpl file recetly? if you have,there's your problem.
Try some checkups to see where the issue is coming from
1:turn off the theme you are using and check the cart again
2:Turn off any new modules you have installed
3:check your error log,and see what you have there,dont forget to check the vqmod/logs
usually that area of opencart works without a problem.so its either some code you did,the theme you are using or a bad module
DO not forget to do a backup before you do anything

opencart layout and position issue

i have installed opencart 1.5.6 with oxy theme and im having a strange problem with the layouts..
i want to show the slider and the latest products in the homepage and in the layout i have selected "home" which routes to common/home
but the problem is when i go to all the inner pages the slider and the latest products are still visible
and secondly im having a problem with the left column and right column. im have set the category links on the left column and layout category but they are not visible.
can someone tell what might be wrong?
If there are multiple same route has been added then this problem
will happened.Go to admin -> system then go the Design->layouts and
check the other layout routes.If any other page have the same
'common/home' route remove it. I think then your first problem will
be solved.
Check the category template whether there is $column_left,
$column_right is present or not if not then echo it here. After that check it once.

Building a website in Sharepoint, but my control panel disappears

At the moment i'm building a website in sharepoint, but everytime i open the main page of the website in my browser the control panel on the left upperside of the screen is missing. I have no idea why?
To clarify: In this tutorial you can see the browse/page/site control screen, in which they make nearly all the simple changes to the website. https://www.youtube.com/watch?v=dJlwCNXMCBo (edit: Forgot the link of the tutorial)
I literally have no idea why i cant use this, does anyone have any clue?
Edit: My mainpage looks like this:
http://s30.postimg.org/6a5mkzoip/Screenshot_main_page.png
Pull down the menu with the gear icon beside your name. Click on "Show Ribbon".
Your master page is hiding it through javascript.
<script type="text/javascript">
var suitebar = $("#suiteBar");
if(suitebar.length<1)
$("#s4-ribbonrow").css('display','none');
</script>
If you change the master page to $("#s4-ribbonrow").css('display','block');
You should see the ribbon.

Where is the code responsible for emitting the HTML for the drop-down cart preview?

I need to know where the code is that creates the HTML output used for the cart preview drop down, the one that states: you have items(2) in your cart etc. at the top of the page and has the checkout and view cart buttons as well. Also where the javascript for the showing/hiding it is at.
The tpl file is:
catalog/view/theme/default/template/module/cart.tpl
The controller file is:
catalog/controller/module/cart.php
The language file is:
catalog/language/english/module/cart.php
the javascript to hide/show it is:
catalog/view/javascript/common.js
I hope this helps
Please reply if you have any further queries
Regards
Jeremy