Transferring an ecommerce website from CoreCommerce to OpenCart [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm in the process of converting a CoreCommerce website into OpenCart.
CoreCommerce is a hosted e-commerce application.
I need to export customers, orders, products, categories, and reviews (or hopefully as much as I can). The corecommerce exported customer CSV file does not contain their passwords. Do you know how this will work out? Should I just create random passwords for each customer and email them and let them know? There are about 16000 customers.
Also, do you have any experience with any of the CSV import tools for OpenCart that you can recommend?
Thanks

Just ask your customers to reset passwords when they did not already and they try to log into your site.
I'd first inspect the CSV files then create a php function to import all correctly since i don't think both applications have the same database fields.

Related

Can I find what files are using when a website page is ran? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I just received a source from my customer (it's written by PHP Generally), I try to read it and glance at database. I realize that it's very mess, some webpage's content is also saved in database. So, I want to find files are using by browser and I mean that php files, I want to edit them. Can I do that?
P/S: I'm sorry if this article bother you
Hi At any point you need to know what functions, what includes and what arguments are being passed just use debug_print_backtrace() function in your code.
for further reading follow http://www.php.net/manual/en/function.debug-print-backtrace.php

Import excel to mysql with multiple linked table [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
My Database Structure
Products
Categories
category_products
I am using category_products to link Products and categories .
But i have a single excel with both the fields[Products , categories]
This is how we have done with Price Range , Colors etc.....
Can any one help to solve this easily as possible.
Thank you
As per your comments above, I can point you in some direction to get you started.
1) Use a third party library to read Excel workbook/sheet
Try this: http://phpexcel.codeplex.com - their download has PLENTY of examples
2) After you managed to read the excel data into a PHP Array, now you can import data by iterating through the array into your DB.
For MySQL database manipulation, I'd recommend this library: http://www.meekro.com/quickstart.php
You should do it using your own importing script. Read the document fields and import to appropriate tables. There is no way to import in a single run.

How to get wordpress source code of theme in php [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
i have a site which is designed in wordpress. I have evrything that wordpress gives.like admin name password.database.But i dont have the admins password by which i change the setting in wordpress theme.is there anyway to get the theme's source code that my site has.I like to change the site without entering admins panel.i like to change it using only code is there any way to do that.I will appreciate any help.
From your dashboard, look on the left side panel and choose appearance > editor. Once there, look to the right of your screen and choose which part of the site you'd like to edit (posts, stylesheet, etc). This is where you can do changes.
I think this is what you were asking for.

Is PHP and SQL enough to count page views and number of downloads? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Can anyone help with this, if PHP and MySQL enough to count page views/number of downloads precisely? I need to count how many times a wallpaper is being downloaded.
If yes, how can we do that? Thanks a lot for the help.
There are a number of online tutorials for creating page hit counters. There are several on phpAcademy.org alone.
You might find this one to be most helpful:
https://phpacademy.org/course/unique-hit-counter
And here is a tutorial video for setting up Google Analytics on your site:
http://www.youtube.com/watch?v=ZUTNLzzde60
As well as an article for Beginners
mysql is not even needed to solve that problem.
here it is solved by writing a file with the download count
PHP - Count downloads

Ecommerce - allow user to add products [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have just started using opencart, but I'm good with moderate php. In opencart, the only way to add products currently is through the admin panel. I would like to let users have the option of adding products, without seeing any of the admin panel, like ebay without the auction or amazon. I tried looking at the database to see how it is organized, but there are WAY too many tables. Also, I can't locate the php script that inserts the new product information into the database. Does anyone have an extension or at least know how opencart inserts the product in the database?
Thanks for all the help and sorry for the paragraph.
The file you are looking for is /admin/model/catalog/product.php. You will see that there is a method called addProduct which you will have to replicate, remove anything that shouldn't be accessible and you'll also need to create the form for it too. For more info on the MVC, check out this answer

Categories