We are building an e-commerce site where users can create their own bundles with products of their choice. Other users can then buy these bundles.
Please guide me as to how a bundle can be created based on the products selected by user and store this bundle. From whatever little I have read, I can create a module which will do this. Is this the right approach, or is their any other way to do it. I have gone through Alan's post to create modules, but still my magento knowledge is limited.
I am new to magento, and a newbie programmer (hence this is my first post on stackoverflow), any detailed description will greatly help me.
Thanks.
Isn't a shopping cart a user bundle by definition?
You can save the order information and create bundled items from that
Create an administration module that parses the information from orders and chooses automatically the most selected group of packages and creates automatically a product based on that.
If you want to involve the user that is more work for the CRM than for Magento, allowing the user to create bundle products and save them.
Update
From your comments I see 2 ways of solving this issue
with the help of the checkout and order object - when a selection is saved.
without any connection with the checkout process you'll build a frontend module that will save independently a bunch of products and will transform the selection into a backend bundle product that will be later available to all users. Steps to do towards this approach
build the interface to let the user select several products
make a save action that will grab the currently selected products from a cookie or somewhere and tranform that in the background in a product.
save the product and reindex the site to have the product available
Related
I have a two seperate websites(f.e. abc.com and 123.com) Shops have the same products, but different prices. I want that these two stores would share product stock and nothing more. So I guess it's just one column from database. Is there a good way to synchronize product stock between two seperate prestashop websites?
In order to achieve your goal. You should use the multistore functionality in Prestashop (sharing products and stock), see doc.prestashop.com/display/PS16/Managing+Multiple+Shops
As I assume you aren't using it for a specific reason, you would need to go and create your own module. Your module should register to the actionUpdateQuantity hook, meaning everytime your stock changes, it should do something, namely send a message to the other shop.
Normally, you would use the Prestashop webservice for this kind of behaviour, but as the webservice has some problems with stock management (see http://forge.prestashop.com/browse/PSCSX-3170, mainly having to do with the advanced stock management). I don't know if you use the ASM functionality, but I've created an example module for syncing your stocks. It can be adapted to be compatible with ASM functionality.
In the module configuration, you'll find the Sync URL of the current shop, you can use that URL in the other shop. So you'll install the module on both shops and cross reference them. I've created a separate sync.php file which will be called to sync the stock. As said, normally you should use the webservice functionality for this (and if you dont use ASM, you can adapt it to use the webservice, if you do use ASM, you must adapt it to allow for stock movements and valuation).
For the code, see the repository at https://github.com/mwienk/prestashop-syncstock
Using Prestashop 1.6 is there a way to automatically add a customer to a group when they purchase a virtual product?
Example: Virtual product is a membership. When they buy the product, I want them to be assigned to the Members group.
One way I was thinking of achieving this was to do the following:
Can the virtual product link that the customer receives in the email be a link to a PHP page that I create? I was thinking of writing a PHP page with an activate membership button that would insert them into the proper group via MySQL code.
I could not find a module to do this. I would like to avoid creating a module because then I would have to study module creation and I was hoping for an easier solution.
The highly recomended solution is a custom module that will assign the user when the payment is confirmed. It can be done with changes to the core file, but this is the worst solution, since after the next upgrade of PrestaShop those changes will be overriden. Module creation is not so hard, you just need to implement the hook "actionOrderStatusUpdate" and asign the order customer to previously selected customer group from the module configure page.
I have developed a virtual store using virtuemart 2.0.10 and I need the products in a given category have a different flow of purchase.
Is there a way, from the data of an existing product (with name, price, description, etc.) to create a new product with new id and sku, using an image located in a known directory? All done on the front end, as user interaction, using classes of MVC framework of virtuemart 2.
Needs to be done this way for the product to be added to cart separately, even though the same product base, each with its resized image, and when you click it to open the product details displaying a custom image.
If anyone know a way to do, please help! I looked at the classes responsible for registering products in virtuemart but do not know how to do safely from the front-end.
The first step (redirect user to component and create a custom image) is already done and working, the image is saved in directory and its url recorded in session
Take a look at the VirtuemartControllerProduct::CloneProduct function. It will point you down into the VirtueMartModelProduct::createClone function where the work actually goes down.
I want to add a custom attribute to magento order_item and quote_item and a field in the order form for my serial number attribute and other custom attributes.
I'm selling Tablets offline but I am using Magento backend for managing all inventory and customer information along with orders, the tablets are given on subscription bases so there is no shipping as the customer would be at store during purchase.
I want to add custom attribute which are unique to the customer and tablet.
I could create an attribute for the customer but what if they order more than one tablets which means logically the only way is to place those attributes in the order item.
I seriously don't know how to go about.
I hope someone can point me to extended magento sales module and add my custom attribute to order_item and also show in magento order form.
First you need to add/change this two tables:
- sales_flat_order_item
- sales_flat_quote_item
just add fields and name it as you wish (that will be your new attributes)
file you need to edit for your new attribute to be visible on order page should be this one:
app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml
and your new attribute:
<?php echo $_item->getMyCustomAttribute() ?>
If you would like to make that attribute "the proper way" it requires a bit more skill..
Here is an example how you can add custom category attribute, same would be for your problem:
http://inchoo.net/ecommerce/magento/how-to-add-new-custom-category-attribute-in-magento/
Thanks
I would ask some of the more popular extension providers for a custom quote. AheadWorks comes to my mind quickly... I say visit the Magento Connect store and browse through highly rated extensions and you'll see there are a small number of companies doing lots of successful work.
They will be able to "more properly" handle, store, track, and communicate your desired data through the entire system.
Once I better quantify a similar situation I would like to program, I will seek the help of experienced module builders. The Zend MVC is a miserable bowl of spaghetti once you start trying to code in it! :D
I am learning Magento. I have already installed and gone through admin side.
Have done for adding customers ,Products ,Pricing or other stuffs. Now I want to learn more things (currently don't want to go for code and database).
Can anyone post here sample tasks (specially for learning). Because as I said am new to magento and don't konow exactly what type of tasks we can do in Magento.
I want some good tricky and sample tasks to do in magento. So I can learn it more.
1.) Change the favicon logo.
2.) Change the magento home page logo.
3.) Change the Top links "name" Ex: My Cart as image.
4.) Adding new link in top links.
5.) Move the top menu navigation as left menu navigation.
6.) Creating banner slider in home page
7.) Listing the feature products in home page.
8.) Need to put newsletter subscription in footer area.
9.) Removing the magento ads in right column (i.e) The dog and poll removing.
10.) Adding the new column in sort by order in category page.
11.) In product detail page need to show product description and some other information as tab format.
12.) Magento registeration need to enable extra options like company name, phone number, address, user type.
13.) Each customer group need to show different type of price for products.
14.) While importing products we to import the tier price to each products.
15.) Creating new attributes to products. And need to import values to that new attribute.
16.) Adding custom new column while registering a customer. And it need to show in admin side as editable.
Basically you are in e-commerce domain and magneto is a e-commerce framework which provide a platform to build e-commerce application with some build in out of the box functionality so that the developer at the end of the day not have to start building things from scratch.
what type to tasks we can do in Magneto.
being a eCommerce platform it provides you out of the box functionality ranging from product management,category/catalog management,shipping,checkout process,user management,post order process etc and many other things.
E-commerce in itself start from application like B2C (Business to customer), B2B (business to business).
I want some good tricky and sample tasks to do in magento
i am not sure what exactly you mean by this statement what you want to learn how exactly flow going on or how you can customize the things.
my suggestion is to explore some e-commerce implementations like amazon,eBay etc see how things flow there and than come out what you want to have in all.
i have not worked with magento but being in e-commerce domain i know every platform provide some sample reference application so it should be the case with Magento so just run that application and see how flow is going on and play around with it.
one thing that seems good to start is checkout process as it is always an integral part of any B2C implementation.
Other aspect is Product content management.
How about learning to create tier prices for customer options? I am quite sure that you need this for the future someday.
Magento allows tier prices for products and prices for individual options. However, tier prices for individual options are not supported. Tier prices for individual options are needed e.g. when selling promotional items or textiles with custom imprints. To create individual tier prices just try one of these three options:
one of these three options:
Realizing the surcharges with Cart Price Rules
Simple Configurable Products / Better Configurable Products
Generating additional individual options with prices
In my opinion the last one is the best solution. An individual option only allows one surcharge, when more are needed (one for each tier price you want to have). So you create several options with different prices. By doing so the following module might help you. You can request it for free at: http://www.code4business.de/kontakt-impressum/.
This module requires entering of tier prices and individual options in the backend. Afterwards the prices of the individual options for each tier price are entered in the newly generated options. When you save it, the following table of individual options will be generated. In this table, the tier prices can be entered for the original individual options. After filling out all these fields, the result is expected to be in the checkout.
I hope this is the kind of learning-idea you imagined! If you have further questions just take a look at this link. It offers you detailed descriptions with pictures how to create tier prices:
http://www.code4business.de/tier-prices-for-magento-custom-options-en/