WooCommerce Variable Product Swatches Are Disabled, Don't Know Why - variables

I've recently been working on a new Wordpress site using the WooCommerce and official Woocommerce Variable Product Swatches plugin.
My issue is that the product variation swatches have stopped working on their own. Here's a page for an example: http://butterlane.com/butterlanedev/product/cupcake/
The image swatches lined up along the top should switch the product image when clicked. Everything was working fine before but now the swatches are greyed out and i can see in the CSS that they've been switched to a .disabled class
I've tried creating a brand new product with brand new variations and the page still won't let me click on any of the swatches. I'm truly at a loss as to how this could have stopped working on its own. Hopefully someone with experience using the WooCommerce Variable Product Swatches plugin can help me figure out whats going on.
Thanks in advance for any help.

Try to turn off your swatches plugin and see if there are still "disabled" classes in the select dropdown list for your variations in the single product view page. If the class is still there then the plugin works how it should.
The variations are disabled if there are no more stocks in the inventory or is not available for purchase. Check your variable products for their stock quantity and price in each variation.

i believe there's a conflict in what the new Woocommerce (2.05) and what the last version of the plugin are meant to do with the other variation images once one has been selected. I'm guessing that the variation plugin uses one of the same trigger ID's in it's javascript as something else WooCommerce has chosen to use (there are only so many logical names for these things).
At this time it basically kills the ability to buy any of the products with variations... which is 'less than useful', for the moment I suggest turning off the plugin and using the default select list, which while ugly at least allows selection.
Waiting for this to get sorted out myself... and since WooThemes have decided to host on the slowest servers on the planet, I can't actually view their website to check the latest version of the plugin.
I guess i'll be pinging them on twitter.

Related

Bigcommerce checkbox addons to product

Is it possible to have a checkbox on the product page that are upselling the current product? For example if the user wants to buy a computer they might want to add a mouse, is that possible to implement on the product page for the computer by adding a checkbox that says "Add a mouse +50 SEK", and mouse in this case is referring to another existing product?
natively you can add a customized checkbox value to your pdp. You would do this under Products > View > Edit > Customizations. Select checkbox. Then enter rules to increase the price when selected. However, this is not tied directly to the product, so you'd have to run your own custom logic to handle inventory if you go this route.
Another option is to use a picklist. This is in the same location as checkbox. However the difference is that you can directly link this to a product on your storefront and not have to worry about inventory as it can be handled within BC if you select that option.
A third option is to use an app from the App Marketplace. I've used the BuyButtons app + an HTML widget on the pdp in a quick test to see how this would look. It would need some tweaking to get it to how you'd like, but it was fairly straight forward.
There are likely many other ways to accomplish this, though! These are just some native options & an app option. Thanks!

OroCommerce: Configurable Product display in storefront and backoffice

I've created configurable product (internet connection with different speed) following docs, in storefront I see dropdown with product vairants, all is ok.
But in backoffice (when editing shoppingList or creating order) there is always only one variant of product with no ability to quickly select another option (eg change speed to another one) - is this how oro backoffice works and nothing could be changed to make backoffice user quickly navigate between product variants (eg change speed from 1M to 2M by clients phone request)?
Cant even edit product in shopping list
UPD:
If there's no way to see user-friendly configurable product in backoffice than I need to implement smth like button near each product in LineItem which will show popup with product variants. When user will select another option request will be sent to some route and it will run smth like $lineItem->setProduct($newProduct); , grid reloaded and new product variant selected. Is it ok or it will break something in oro?
Where to start for adding that button and popup? Eg I cant edit oro shopping list template, how to properly extend it?
On the line item editing form you cannot change the product, no matter it's configurable or simple. It's done intentionally.
If you want to change the product, you always can remove a line item and add the new one with updated options manually:

Show a different product combination data from server side on Presta 1.6

I know that this is already available in Presta 1.6 via the hash part of a URL. However, what I need is displaying the data of the product combination on the initial page load.
I couldn't find a hook/action for when a product is found/being displayed where maybe I could just switch the default combination for the currently displayed page?
There are several hooks on the product page that you can use:
displayFooterProduct
displayProductPriceBlock
displayProductTabContent
displayProductContent
displayProductTab
displayProductButtons
displayProductDeliveryTime
displayLeftColumnProduct
displayRightColumnProduct
displayProductTabContent
displayProductPriceBlock
Hope this helps.

Shopify dynamic products

Was wondering if anyone knows or have came across this shopify functionality I am looking. Basically you have images as a color option and when you select one it dynamically updates the featured image and the gallery.
Similar to this:
https://www.rugsusa.com/rugsusa/rugs/rugs-usa-shag/Natural/200SPRE14A-305.html
Any inputs are appreciated.
If I may rephrase your main question (Hopefully I've understood what you're after):
In Shopify, can I automatically update the product image based on the user's option selections?
Answer:
Yes!
Many (if not most/all) themes in Shopify support this natively - if variants in your products are assigned featured images through the product admin, the theme will update the main product image to that variant's featured image.
Not all themes have built-in colour swatches, but those that do should be able to replicate the style of your linked store without too much trouble. (Different themes with swatch support have different ways of implementing those swatches - you will want to check your theme's documentation to find out how to best set up your swatches for your store)
Hope this helps!

Adding new fields to Prestashop cart back office

I need to add fields to the prestashop 1.6 cart back office, i.e. I need something similar to http://nemops.com/prestashop-products-new-tabs-fields/#.VuysZfl97IU
I know that I can easily manipulate the Admin Cart code to get the result I need but I'm wondering if there is a 'correct' way to do it - like in the product tab solution.
A 'correct' way as in:
encapsulate in a model
works on any prestashop version that keeps compatible API
works on any theme