I need to set product based upon their weight and dimension for a delivery system, so i have created sample 5 products each having different attribute based upon their w&d .Then each time when admin places order to a customer(adding to shopping cart) from those products based upon w&d. Now the problem i face how to change the Image and description of the product or order for each customer i have placed this image and description varies for every customer. Is there a way do it. I am open to any suggestion to achieve this can also use php and js if needed. Thanks.
You have solved it yourself alraedy by saying "image and description varies for every customer", so it would make sense to add customer attributes that hold this information. You will have to modify stuff around in your .phtml files though to make this fully work.
Furthermore it would be good if you included what you have tried already.
Related
Is it possible, in Magento, to build a button to add a new simple product while creating an order in the backend?
It is not important that the product would be saved in the catalog: it should to be saved into the order. Only two of the product's attributes would be needed: name and tax rate (optionally others). Qty e price could be edited from the order cart.
Yes, it's posible, you need a controller in order to do that.
Remember that you need to provide us the code that you're working on, and don't expect that we program all for you.
Thanks
Thanks to Beto Castillo I went into the spirit to think more clearly about this. The project is yet under construction. Anyway starting steps could be:
Create the right inputs to add a new product in a ChildHtml of sales/order/create/data.phtml, and adjust the layout files. Along with the inputs there will be a button to trigger the creation of the product. In one of this inputs I have to load options for tax rates.
There is plenty of ways to create a new product, i.e. Magento: Adding new products programmatically. I just need to get the above inputs.
The product should be added to order quotes in the database (I could start with this: Create order programmatically in Magento)
Update the create order view, calling an ajax function to reload the item grid. Part of the code already exists in Magento. All this steps should be packed into the same ajax call: here comes the controller action named by Beto Castillo.
So the answer is yes, it is possible.
I need help with the following:
In Magento I have created a configurable product and assigned some simple products to it. They have an individual attribute set with individual, numeric attributes that I have created.
One attribute is for example "length". This attribute has the following values:
3,4,5,6,7,8,9,10,12,14,16,18,20
If I open the drop-down menu on the article details page, the values get displayed like that:
10,12,14,16,18,20,3,4,5,6,7,8,9
Thus, it seems that the attributes are saved as text (alphanumerical?) and not as numbers (numerical)?!
I need some advice on how I can change that. I have tried to work with "Input Validation for Store Owner" in "Manage Attributes", but that doesn't work. Is there f.e. any field in my database where I can simply switch the way my attributes are saved/displayed?
I have created many products and attributes, thus I don't want to re-create all of them again, if not necessary.
Thanks for any reply.
It has been a long time since you asked and might be you have already found a solution to it. I am just writing so that anyone coming on this page for the same problem does not have to go thru the same pain what i went thru.
When you create the attribute(length), you would have created the options (like 3/4/5.. etc) create the sort of that options in the attribute section and they will sort as per your requirement.
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'm currently using WP Shopping Cart.
Per order of a product, I need to attach some meta data such as size, frame options and frame colour. These different options change the price of the end product.
My first idea was to simply add a new product via the database each time, adding the necessary info to the product description and changing the price accordingly. However, this sounds like an ugly hack that will only lead me to problems down the track.
Is there any WordPress ecommerce system that allows this, or do you have a better solution to my problem?
Thanks
This comes a bit late but... Getshopped seems to meet you needs.
They call the product meta variations and I've linked you to the specific page.
Hope it helps!
recently I was needed to enhance Magento (1.3.1) user interface. Particularly add a product image switcher (following http://inchoo.net/ecommerce/magento/create-a-color-switcher-in-magento/).
The results:
- image switcher works as expected, which is fine.
The problem:
- The product itself could hold as much as 15 or 20 colors-images to choose from.
The goal:
- when the user choose the product color using "select" element, the selected product color must swap default product color to show it in cart.
I was thinking to use a session to hold the selected data and then swap it, but it looks way to complicated, because image directories holds as cache directories and I don't know the exact path when viewing the image.
Second idea was to swap from checkout/cart controller using /checkout/cart/item/default.phtml, but I don't know how to do it.
If You use Configurable product with associated Simple products user will add to cart simple product instead configurable. Every Simple product can have different attributes (ex: color)