Multiple Magento Attributes on One Product - php

Each of the products in my Magento store has attributes that are used as filters. I would like to know if it is possible to give one product multiple attributes of the same type, or if there is an extension that makes this possible.
A specific example is this: I'm selling safes, and my products need to be filterable by what types of objects they can hold. For example, one particular safe might be designed to hold cash, documents, and valuables. My problems is that I am currently using the general settings under product management, and I'm only able to add only one such attribute to each product.
Basically, the way I'm doing it now, a safe could be shown to hold cash, or documents, or valuables, but not all three. I am looking for an extension or a programmatic way to get this done.
Any help?

Hi Dean, your issue is already resolved my Magento. All you need to do - is change the type of your "hold objects" attribute from "Dropdown" to "Multiple Select".
The bad news are - you actually can't change the attribute type directly in admin Attribute Management screen (Catalog -> Attributes -> Manage Attributes). So you'll have to create new attribute for your "Hold Objects" and choose the attribute type "Multiple Select".

Related

Prestashop 1.7: Technical difference between a "custom" feature value and a not custom one?

In Prestashop 1.7, what is the technical difference between a "custom" feature value and a not custom one (I'm speaking about the boolean field custom)?
Because in order to save in DB a feature value, I want to use add after having initialized the attributes of my FeatureValue object. Among those being this boolean custom.
"Custom" feature values are related to specific products and can only be inputed from the product edit page itself and cannot be reused for other products.
Non-custom feature values should be created from Attributes & Features page and can be linked to multiple products at the same time from the "Pre-defined value" dropdown editor in product edit page.
Faceted module (Product sidebar filter)
You have to keep in mind that you are able to use Product Pre-defined feature Values as filters on your product page. For example when you have multiple Pre-defined feature Values for "size" you are able to enable these in the Faceted Module of Prestashop and your customers can filter your products by selecting a specific size. This is not supported for custom values.
So the big diffrence is that you can use Pre-defined feature Values as a filter on your product page. Pre-defined feature Values also decrease the change of making typo's while adding products.
When you have a multi langue store it Pre-defined feature Values speeds up the process since you don't have to add every langue manually for each product.

how to add extra product field in prestashop?

I have a online electronic parts store build with Prestashop 1.6.
Now I want to add some extra fields for each product (for example: Part datasheet, footprint, 3D model and ...). These field may have different types (file, checkbox, text and etc).
can anybody help me to do this.
the final thing I want is something similar to Newark Website. I have highlighted the field in the below image.
I found this tutorial, but the problem is he didn't say anything about adding this field to front-end and also nothing about field type.

Custom Option Validation Dependent on another Custom Option

I need a help to apply a validation on custom option, that is dependent on another custom option value.
Here is the image, which describes what I actually want :
Please suggest, I am using Custom Options, Not Configurable Products
For this type of products, Configurable products type is the best option. First create the attribtues as shown then create the configurable products. Actually this can be set while you create those attributes like blouse size, length and customization. Go to the admin panel. Catalog->Attributes->Manage Attributes. Here search for your attribute that are using for those COnfigurable products. Then after edit those attributes and then you can see a field like "Required Values"-> Make this as Yes. Attaching a screenshot for ur reference.
Edit the other attributes as you required. Then make an ReIndex management and clear the cache. Refresh the frontend...Hope this helps.. :)

Magento Attribute Sort Order in Configurable Product

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.

Add custom attributes like serial number to order_item and quote_item

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

Categories