In WooCommerce, by default, when we have, say, 2 attributes, and then we create a number of variations, they will be the result of every term multiplied by each other, meaning if we have 10 term of attribute A and 7 term of attribute B, it will create 70 variations maximum.
I want to make them separate in controlling the option, and it may have the same meaning as "making the attribute A and attribute B not connected", or "dynamic variation relationship".
For example: I have attribute: Color and Size. Color has 5 terms: White, Black, Red, Blue, Green. Size has 3 terms: Small, Medium, Large.
For every color, there will be an individual image represents every product regardless of what size is selected. And so does with the sizes. For every size, there will be a different price but each will have the same price for every color.
Also, when I select on a size variation, I need the image slideshow not to be updated (which it does by default, see this GIF below). I just need to update the price.
What should I change in the WooCommerce code, database, and what do you suggest for the backend and frontend?
I hope you understand my explanation and am looking forward for your help. If you need some clarification or more explanation, I will edit this question.
Related
I have variable products, which have two attributes: size, and color.
Price is changing only depending on size, color on each size won't change the price at all.
So f.e if I select "XL", it doesn't matter which color will I choose, price wont change at all.
Currently to see the price of a product, user have to select both: size, and color, which is actually reasonable, but I would like to allow user to see the price, after just selecting Size attribute.
How can I achieve it?
thanks
I have one more complex questions, so I will split it. Since it is basically one topic I don't wanna to split it into two separate threads. I would be grateful either for any information about an existing module, or any idea how to do this by yourself.
Question #1
If I understand the product price calculation process in Prestashop I basically have two options:
Price defined on a product
Price defined on a product combination
What I need, though, is to provide customer with more advanced calculation. Let's say products can be assembled and equipped with multiple different tags. Therefore, I can't use product_attribute (Combination) as no matter if I assemble the product or not, it is always the same product with only one physical amount of products on stock. As if it was a Combination, and customer order the product assembled, the stock would only be decreased on for this Combination, but not for the other Combinations. Hope that makes sense.
Example:
Painting #348 + frame + additional service = $500
Painting #348 + frame = $375
Painting #348 = $345
It is even more complicated as these sort of "additional services" are only available to relevant products. Another products may offer customers different "additional services".
Question #2
For scenarios from Question #1, I need also to differentiate the price. So if a customer wants to buy 300 pieces of a painting with frame it is $10 cheaper per product. If the amount is over 500, it's $25 cheaper etc. I know I can do this for a regular product or a combination, but how would you do it if the price would be custom just like in Question #1.
Thanks a lot for any help!
I am not sure if i have understood your question completely or not but, as far as i understood here is your solution:
You may have a product:
XYZ Pizza
(with different toppings like chicken, red meat)
(also have sizes Small, Medium and Large)
Off course you will have different prices for different combination.
So what you can do is:
Create a product XYZ Pizza with price zero and quantity zero.
Add combinations to the product, so you just need to add actual price of that
combinations, no headache of increase decrease calculations for price.
It is super easy if you are using csv import.
And don't worry as long as you have a single combination with some price for that product the zero prices won't be shown on your website.
Hope it helps.
I'm building a webshop with Magento and like to add a product with three custom options: select option, width and height.
For instance, I sell doors. The size of the door shoul be chosen by the costumer. In order to accomplish that, I created 3 custom options in all the simple products: type of door with a fixed price, width and height.
What i would like is to be able to calculate the price of the type of door based on the size (width & height). So the fixed price of one of the type of doors is 1000 / 1000 mm and one someone put 1000 / 2000 that it calculates it.
Thanks in advance
Create a configurable product with all 3 above attributes as configurable attributes. Assign the calculated prices to the individual simple products. When customer will select the type, width and height, the respective simple product with these configurations will be selected and the its price will be reflected in cart without any overrides. :)
I'm developing a Magento store for a vehicle accessory company. There are a number of vehicle specific items that need Make/Model/Year attributes, however I can't find an extension that allows creation of relational attribute dropdowns - I need three dropdowns, whose options change dynamically depending on the previous dropdown selection, for example:
Dropdown A has four Vehicle Makes. Choosing a Make then populates the Model dropdown with a specific set of options and so on for the Year dropdown.
Is this possible in Magento? I've looked at some of the Make/Model/Year extensions, but they're all text inputs - too much room for input error by staff members. I've also tried VehicleFits but it isn't working/throws a lot of errors and it appears development has ceased.
I've searched high and low, any help would be greatly appreciated.
It's not possible to create dependent product attributes directly or straight forwardly under Manage Attributes. But you can make your attributes depend on each other by creating Configurable products.
Lets say you have 2 colors (black and blue) and 2 sizes (L,XL) and you want to make your colors depend on sizes.
At first create 2 attributes size and color of type dropdown under Manage attributes and create the attribute options and values. and Assign it to the right attribute set.
Now create the simple products , lets say product A with size L and color Black and product B with color Blue and size XL.
Now create a configurable product lets say AB and associate these two simple products A and B. Save the product.
If the customer opens the product AB and if they choose size L they can find only color Black. This is how you can make your product attributes dependent on each other.
Source: here
Or may be this is what you are looking for:
http://www.magentocommerce.com/magento-connect/dependent-custom-options-configurable.html
Hope it helps.
I am working in magento
Lets say i have one product "Tshirt" and for that i have 3 sizes "Large", "Medium", "Small" and for every size of Tshirt i have 2 or 1 colors. For "large" and "medium" size i have red and green color but for small size i have only 1 color and that is "green"
I am trying to do this with configurable products or bundled products in magento. can it is possible with configurable products or bundled products? If no! how we can do this, should i have to change the value with jquery?
Thank you for Help in advance!!
You can use both, but in this case I think it’s better to use configurable products.
Bundle products are useful for shipping many parts (simple product) of a product in different shipments. You do not send the size and color of the shirt in different shipments.
For every product you can configure the shirt size, and the respective colors for every size.
For example:
shirt large -> blue, red
shirt small -> red
Magento will create for you many simple products; as many combinations of attributes as you select. You have only to assure that the primary configuration choice for users is placed at the first place on the attributes list, so the users can select the size before the color.
If this is not clear, ask.
You can download the Magento manual here:
http://www.magentocommerce.com/resources/user-guide-download
It is not necessary touch the jQuery code in the page.