Woocommerce Product Variations not being displayed on Single Product page and 'Shipping to' address being displayed on Basket page when local pickup is selected

Hi,

I have used your Crafty theme to develop a shop, but am having a couple of issues with Woo that I have spent ages trying to resolve via your forums and Google with no joy.

  1. I have created products e.g Template 1 which are ‘Variable Products’ and have setup the variations correctly and checked ‘Visible on the product page’ but the variations are not showing on the Single Product page.

If checking the ‘Visible on the product page’ check box is not going to be able to display the variations on the Single Product Page is the a way to display the variations please? All I’m trying to do is for the page to display the variations not make them a selectable option so very similar to the Length and Width data I am displaying via custom code added to the functions.php file.

So displaying in the example of ‘Template 1’ data:

Colour: Anthracite

Location: Bedroom, Lounge

Colour 2: Red

Then following on the the current length and width data that is correctly being displayed.

  1. I have set Woo as Local Pickup as the only option in Woocommerce, Settings, Shipping, Shipping Zone, UK and the shipping option in Woocommerce, Settings, Shipping, Shipping Options as ‘Force shipping to the customer billing address’ as the two other options display or allow a delivery address to be input on the checkout page, but on the basket page within the Basket Totals section ‘Shipping’ is displayed as ‘Local pickup’ which is correct, but then the customers Shipping address is displayed, I don’t want this to be displayed for Local Pickup orders as we are not shipping the products the customer is collecting them.

Is there a way of hiding the Shipping address for Local Pickup orders please? I’ve tried various changes to the functions.php file, but nothing seems to work.

Thanks

Hi @surfersteve1970m

Seems that you are not able to show the variations in the Single Product page. You need to check the Used for Variation to show this in Single Product or Product Details page.

And to hide the Shipping Address for Local Pickup. You can find an idea here: https://www.businessbloomer.com/woocommerce-hide-shipping-local-pickup-selected/

Remember that the suggestion in the above mentioned thread will work if copied as it is and don’t conflict with any existing code.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We do not provide support for custom codes that means we can’t fix it in case it conflicts with something in your site nor will we enhance it.

Hope it helps.

Thanks

Hi,

Thanks for the reply.

I didn’t want to have the colours etc… displayed on the Product page as a drop down section box (as I have already done for Fitters) I just wanted to display the data so that the user can see the colour of the product and where it is suitable for so exactly as I have coded for the Length and Width data just displaying it as type on the Single Product Page e.g.

So displaying in the example of ‘Template 1’ data:

’ Length: 200cm - Already coded
Width: 200cm - Already coded

Colour: Anthracite - Trying to achieve

Location: Bedroom, Lounge - Trying to achieve

Colour 2: Red - Trying to achieve’

I think I have already tried the link you have provided and it didn’t work, but I’ll check that again.

Thanks,

Steve

For anyone looking to hide shipping in the Woocommerce Basket this has worked for me:

Hi @surfersteve1970,

It seems that you are trying to use Variation Swatches and Photos, which will help you to replace dropdown fields on your variable products.
You can find a few plugins on WooCommerce Color and Image Swatches. You can check this plugin: https://docs.woocommerce.com/document/woocommerce-color-and-image-swatches/

Please remember that we dont offer any support to the Third Party plugins.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.