Can't see any products in opencart admin panel - opencart

I made website in opencart, there were some demo products, ive seen them in admin as well as on frontend.
I renamed them all to the same name for placeholder purpose.
Suddenly they all dissapeard from admin but not from frontend.
After i added new product with different name, it showed on the frontend but not admin.
I deleted all products tru database, hoping it will fix it. I added new product. Product showed up on frontend but not in admin.
I have no idea whats wrong.
I dont have any filters tuned on.
Opencart is version 2.3.0.2
Do you know what can cause this problem ? Im working with OC for a long time and never experienced anything like this. Thank you

Related

Virtuemart only add first products you add and the stop to add products

I use virtuemart 2.6.x, with joomla latest joomla 2 version. When i add products to cart the first products i add, they added correctly but after some products i add it stop to add products. I have tried different template and the same problem happend. I think it is a problem with server setting and related to cookies
The get request generated but product not added to cart
http://www.foo.com/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&customPlugin%5B11765%5D%5Bstockable%5D%5Bselectoptions1%5D=%CE%9C%CE%B1%CF%8D%CF%81%CE%BF&customPlugin%5B11765%5D%5Bstockable%5D%5Bselectoptions2%5D=0.5mm&customPlugin%5B11765%5D%5Bstockable%5D%5Bchild_id%5D=1739&customPrice%5B1%5D%5B64%5D=11765&quantity%5B%5D=1&option=com_virtuemart&view=cart&virtuemart_product_id%5B%5D=1741&_=1519390547340
If you think it's a server setting try it local, or if you're working local, upload it and you will see. Have you recently updated Virtuemart? If yes, try to undo it, go back to the older version and see if it's working.
But I really suggest that you update to Joomla 3.8 and to the latest Virtuemart.

Magento 2 cannot login admin because form key invalid

I'm in a brain-breaking problem here. I've created a nice Magento 2.1.7 installation with two websites (two stores, two domains) and somehow after a while we are unable to login the backend of Magento.
Invalid Form Key. Please refresh the page.
Now, after trying a few options, still no success. Checked core_config_data, edit max_input_vars, nothing works. The strange thing is, on the front it's still possible to checkout and do your shopping.
Anyway, I'm stumped here. Why is this happening, and how can this be fixed. Any help is welcome.
I often get this error, clearing the cookies for that site, then opening the admin panel in a new tab will resolve this.
You can recreate this error message if you double click the login button after filling out your login information.
Here are a few other reasons you may experience this issue
The form key inputs are outside of the form, you should check the html on the admin panel to check these inputs and exists and have correct values
Make sure the link you use to get to the admin page does not already have a form key in the url
Does this issue generate anything in var/log/system.log ?
Eventually, nothing helped, but what did the trick was creating a new install, setup this new install with all necessary modules (fortunately there were only four), configure the fresh installment like the old one (long live GitHub) and compare your fresh installation to the old one in the database table core_config_data. Basically reproduce your entire setup without any products in it, but just create your stores and categories.
If you spot any differences between the new installment and the old one in the core_config_data, edit them in the old one to be the same as your new one.
Next, edit your env.php with the database credentials to the old database which you've compared and edited.
And the last step, recompile, flush/clean cache and reindex.
Oh, and word of advice, if you're going to use https for your store, setup magento on https. I think something went very wrong when we've changed the base url's from insecure to secure.

Which shopping cart software is used when the domain name starts with "shop."?

Are ecommerce sites using shop.xyx.com using a particular shopping cart software?
I've tried looking through their source code but I can't figure it out.
My guess is shopify. Ideas?
Domain is absolutely not related to the Ecommerce-Shopping cart Software used.
A Magento could be on shop.xyx.com, and a Shopify too.
Try
http://builtwith.com/
To find out which framework/programming languages is used building that site (80% of time works for me )

Wordpress database integration/sync with Django

My company will be rolling out a new website to accompany our product launch and would like to switch over to Wordpress as our content management system. We will be utilizing a Wordpress theme that will allow users to create their own virtual events without having to log into the Wordpress dashboard (back-end). This event information will be displayed on the website for other users to view and register - this is all built into the theme we have purchased.
These virtual events will be held on our software platform, which is built on Django. We would like to utilize Wordpress to manage the login and event creation process, but would also like to have event information displayed on the Wordpress site AND imported to the Django database as well.
For example: Users will need to submit three items on the front-end Wordpress site to create an event: Title, Host Name, and Start Time. When that information is submitted can it be automatically duplicated to the Django database in addition to it being sent to the WP database?
I have already done some research on this matter, but what I have found thus far might not work for our needs. I found this presentation by Collin Anderson - it is similar to what we want to achieve, but I believe the application is a little different: http://www.confreaks.com/videos/4493-DjangoCon2014-integrating-django-and-wordpress-can-be-simple.
I have a lot of experience with Wordpress, but very limited experience with Django. This question is more for research purposes than a "how-to". We want to know if we can continue to plan on heading toward the Wordpress direction or if we should seek alternative methods for our site. I appreciate you taking moment to answer my question.
I'm working on something similar at the moment and found a good starting point was this:
http://agiliq.com/blog/2010/01/wordpress-and-django-best-buddies/
That way, as dan-klasson suggests, you can use the same database for both the wp side and the django side.
In short, first things first take a back up of the wp database in case anything goes wrong.
Create a new django project and set your settings.py to use the wp database.
In this new django project you can use ./manage.py inspectdb > models.py to autogenerate a models.py file of the wp database. Be careful here as there are differences between wp and django conventions. You will need to manually alter some of the auto generated models.py. Django supplies db_table and db_column arguments to allow you to rename tables and columns for the django part if you'd like to.
You can then create a new django app in your django project and place the models.py you've created in there. This new app will be using the same data as your wordpress site. I'm not sure exactly what you want to do but I would be very, very careful about having wordpress and django access the same data simultaneously. You may want to set the django side as read only.
You can then add other apps to extend the django side of things as you wish.
I should point out that I haven't completed my work on this yet but so far so good. I'll update as I find sticking points etc.

How to create customization theme in opencart

I have developed one ecommerce website in opencart with its inbuilt functions but now I am trying to display any four products on home page and I am not able to do that. I am trying to create function in opencart but my function is throwing server error.
Please anyone give me solution.
You can use built-in "Featured" module (Extensions >> Modules >> Featured) to display any intended numbers of products on Home page (or any other pages).
Don't try to make any changes before you are familiar enough with the core code of opencart.