Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Variable Products Variations not showing up since update last night
New Landing › How can we help? › Atelier › Variable Products Variations not showing up since update last night
- This topic has 33 replies, 6 voices, and was last updated 9 years by Rui Guerreiro – SUPPORT.
-
Posted in: Atelier
-
August 20, 2015 at 7:29 am #205636
HI guys, i did an update last night which fixed one minor hiccup, but as of today any new product I have added and tried to use as a variable product is not working correctly. I can add an attribute like size or color, but when going in to the variable part of the post, and trying to set that info, there is a blank page..
i have also tried to add a new attribute that wasnt already on file – and that wont work either.. i cant add a new attribute at all.. there is no ‘add new’ box.
thanks.
August 21, 2015 at 12:11 am #205991Hi there,
How did you update? Check that there isn’t a variable.php file in /atelier/woocommerce/single-product/add-to-cart/ – if there is then remove it.
– Ed
August 21, 2015 at 1:13 am #206014hi Ed, not even sure where to look for this file? in the PHP Editor? in the Woocommerce dashboard settings? I updated the theme through the dashboard plugin update. It now says that I need to update Woocommerce which i’m doing now, and also a few other updates but as i mentioned to someone in a different thread, I had a theme installed before your theme, and am now not sure which plugins were theirs (i didnt delete them at the time) or which plugins are yours oops.
these include WP Bakery Visual composer
YITH Woocommerce Wishlist
Category Order and Taxonomy orderif i need these plugins for this theme i’ll update them right away. Thanks.
August 21, 2015 at 4:24 pm #206301Hey,
Please update the mentioned plugins also, it’s good to keep everything up to date.
Updating the WooCommerce plugin will likely resolve your issue, if not please privately add your FTP details so we can help you further.
Cheers,
David.August 21, 2015 at 4:25 pm #206303Hey,
Please update the mentioned plugins also, it’s good to keep everything up to date.
Updating the WooCommerce plugin will likely resolve your issue, if not please privately add your FTP details so we can help you further.
Cheers,
David.August 21, 2015 at 7:29 pm #206377This reply has been marked as private.August 24, 2015 at 10:24 am #206648Hi,
You had missed a few settings in the product.
Here is what I did:
1) Change the Product Data to “Variable Product“.
2) Tick the checkboxes on Attributes Tab => Visible on the product page and Used for variations
3) Click the “Variations” tab add a Variation of “Any Pricing“. Save changes, and update the product.You can now see this on the product page: http://nightmaircreations.com/product/black-lavaturquoise-stone-bead-bracelet/.
Full instructions for this: http://docs.woothemes.com/document/variable-product/.
Thanks,
David.August 24, 2015 at 5:39 pm #206893David thanks. I am a little confused though. In other products, I have done all of that except the check box ‘show on products page’ and they worked. (see here: http://nightmaircreations.com/product/dragonscale-chain-bracelet/ )
I’ve changed the one you showed me, to show ‘premium’ as the first option and of course, it only shows that option. It wont show the ‘economy’ option. What i want to do with this one (and more like it) is give two prices for two options. so premium would have a higher price than economy. what i would also like to do if possible is have premium as the first option and have customers choose the economy if they want it.. but the higher price item as the preset option with other options available. not sure how to do this.
August 25, 2015 at 1:08 pm #207227Hi,
I have updated the product to do exactly this.
Couple of points missed:
1) Variations need to be added for both premium and value. So two in total.
2) A price must be entered for each variation to show.Thanks,
David.August 25, 2015 at 6:02 pm #207394hi David, thanks very much. I can see where you added the extra info, but i’m stumped as to ‘how’ you did this.. i’m working on this one to experiment: http://nightmaircreations.com/product/orbit-chain-bracelet-in-stainless-steel/
i now have size variations, and have added ‘finish’ i.e. stainless or nickel. what i’m unsure of is how to get the different pricing. This is a screen shot of what i see when i save the new attribute and go into the variations. i’ve set it for default stainless.
thanks!
Attachments:
You must be logged in to view attached files.August 26, 2015 at 3:14 am #207458Oiy! I think i figured it out.. by accident and hopefully can remember for next time 🙂 one more question.. is there a way to have the image show when you click on the variation? for example if i have one with a skull bead and one with an ordinary round bead, is there a way to show a picture of each of those somewhere in the variation description or? i have those different images in the actual product gallery but would be nice to do a close up of that specific difference when they click on the variation they wish to order.
Also.. the overall pricing on the product (as viewed by the customer) says $30-$45.. is there a way to have it just show $45? or to show $45-$30? nit picky things but if there is great. if not, thats ok too
August 26, 2015 at 8:37 am #207514Hi
1) Of course, when you set your variations you can set the image for that variation. This will make the main image change when the user chooses a variation
2) I’m afraid not sorry, you can only change it to ‘from $30’, if that’s what you would like to do?
– Kyle
August 26, 2015 at 5:48 pm #207840Thanks Kyle.. so how do i add an image for each new variation? Also, how do i change it to ‘from $30’? i think that will work for what i want.
August 26, 2015 at 6:17 pm #207849Hi,
You can add the image to the variation in that button.
https://www.dropbox.com/s/1bqwee21d7etozy/Screenshot%202015-08-26%2018.14.36.png?dl=0Add this code to the functions.php of the child theme.
/** * Only display minimum price for WooCommerce variable products **/ add_filter('woocommerce_variable_price_html', 'custom_variation_price', 10, 2); function custom_variation_price( $price, $product ) { $price = 'From '; $price .= woocommerce_price($product->get_price()); return $price; }
-Rui
August 26, 2015 at 9:04 pm #207878hi Rui, the screen shot from dropbox goes to an error 404 page so still not sure how to add a photo
Adding the code to the child theme, I dont have a child theme, so i’ve added to the theme function php and seems to be working fine thanks!
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.