Creating list from queries (Shopping cart like) - php

I need your help to get to the right direction on tackling this problem. I have a list of products from different vendors stored in the database. I wanted to be able to search through it and be able to add specific products and create a "Parts Order List". I was thinking of it like a shopping cart. The user should be able to browse/search through the product list and add certain products to the "cart" and then later view and print it. I'm stuck on what language to use. I'm familiar with PHP but from reading online this is mostly possible using CGI. What do you guys think? Any other Ideas? (Hope I make sense.)
Thanks in advance!!

If you're familiar with PHP why not use PHP then? Is there some reason you want to abandon what you know already to try something else?
EDIT
This beginner php tutorial on how to build a cart will teach you all you need to know about creating a similar system for your needs using sessions: http://v3.thewatchmakerproject.com/journal/276/building-a-simple-php-shopping-cart

Related

Prestashop Product creation in one page without tabs

I need to code a very simple Product creation system in Prestashop, using a single page without tabs.
Does anyone already achieved such a thing?
Would it be better to use the PHP Product class, a Prestashop Webservice, or anything else?
My google-fu must be rusted, because I can't find any SIMPLE product creation example with Prestashop around here...
Thank you in advance, and have a nice day.
Note: I already asked the same question on the official Prestashop forum, but you know, this forum is like the old U.S.S.R from the communist era:
"Tell us what you want, we'll teach you how to live without it!"

Woocommerce - Add multiple stores

I want to create multiple stores in woo-commerce, where admin can make multiple users and user can open his own store and can sell his product.
I just want to know, is it possible in woo-commerce. If yes than please let me know how, and suggest how this can be done?
Just have a template database and theme ready, when a new store is needed then deploy it (can be set up as a bash script).
Without heavy modding this is not possible, and honestly it would be a waste of time doing it that way around.
WooCommerce has a plugin for this now called 'Product Vendors': http://www.woothemes.com/products/product-vendors/
Hope this is what you were looking for?
No it's not currently possible the way I think you want it.
The plugin named by #Adamj is not a complete solution for multi stores and network of eCommerces. Basically it just gives the possibility to earn commissions on products assigned to other users.
If you are looking for a more complete solution, have a look to WooMU http://woomu.org
It's an Open Source version of WooCommerce that is focusing on MultiSite and Multi Stores functionalities.
They are still in Alpha development. The Beta it's not released yet.
In the meantime you can join their community to share your ideas or to contribute in the development.
I am contributing :)

Custom Product Configurator Using Javascript/PHP

I know this is a pretty broad questions but for learning purposes I'm trying to create a site similar to https://knockaround.com/shop/sunglasses/custom/custom-premium. I'm having trouble finding tutorials on how to accomplish this. I'm sure I can create the dropdowns to switch the images for the product, but where would I start when trying to pass the merged image to the cart? Also, I'm pretty sure the website uses Magento and Prototype JS. If someone could get me started in the right direction that would be great.
Thanks
Like this framework (http://fancyproductdesigner.com/), it must be merging the images on the server and created a single image saved with the cart entry.
You wouldn't pass the "merged image" to the cart, but rather the configuration. If you look at the hash on the page, it changes depending on the settings: #custom/3/6/13/259
So what you're passing the cart is "3/6/13/259"

Magento: how to add a new backend php form

I would appreciate any input here.
I have some php code that I've developed to import a csv file into a custom table in the Magento db and then compare this data with data in the sales_flat_order table and display a simple report.
I now need to add a link to this page in the Magento backend so the guys using the backend can find and use it easily.
I have a bit of experience with adding new Magento modules, but I was wondering if there is any easier way to just add the Magento backend look and feel to my php pages and add a new menu item linking to them?
It seems like a big bloated exercise to have to have to go through the process of adding a Magento module and to have to re-code everything now that its already done.
Any help would be very much appreciated!
Just pop your link in the header links - header.phtml in admin template folders. Job done, not elegant but why spend any longer on it?

php product browser

I was wondering if anyone knows of a good script to manage a catalog of products. Just need basic stuff, like being able to browse by category and or tags and search. Without many extras, as I'd like to have it working inside a CMS.
softpedia has a few scripts, but I'm also considering creating it from scratch. Ideal would be something in between that allows a bit of customization and control of layout, but takes care of the backend. So adding editing and managing items should be simple.
any ideas?
--- edit ---
has anyone worked with http://www.oscommerce.com and can shed some light?
CubeCart is quite simplistic and easy to use, there's also osCommerce and Magento if your looking for a more advanced ecommerce system.
ZenCart is a popular solution, and free. Of course any (good) product listing app is going to be a shopping cart.
virtuemart may work out for you as well.. you can add it on top of joomla .. that way you would have a CMS to create and change the custom pages as well.. the other solutions are good too but they are more cart oriented.

Categories