I would like to add a share to Whatsapp button on my product page in the new Refresh theme. I have included the code below for my product page including the sharing features.
Thanks in advance for any support given - this code is from the product.json page!
As we’re a charity ideally a free or incredibly low cost solution would be ideal for us. Check us out here: fireworks.dartfordlionsclub.org for the ticket sales and dartfordlionsclub.org if you’d like more information about us as a company.
{
"sections": {
"main": {
"type": "main-product",
"blocks": {
"vendor": {
"type": "text",
"settings": {
"text": "{{ product.vendor }}",
"text_style": "body"
}
},
"title": {
"type": "title",
"settings": {
}
},
"caption": {
"type": "text",
"settings": {
"text": "{{ product.metafields.descriptors.subtitle.value }}",
"text_style": "subtitle"
}
},
"rating": {
"type": "rating",
"settings": {
}
},
"price": {
"type": "price",
"settings": {
}
},
"variant_picker": {
"type": "variant_picker",
"settings": {
"picker_type": "button"
}
},
"quantity_selector": {
"type": "quantity_selector",
"settings": {
}
},
"buy_buttons": {
"type": "buy_buttons",
"settings": {
"show_dynamic_checkout": true
}
},
"description": {
"type": "description",
"disabled": true,
"settings": {
}
},
"share": {
"type": "share",
"settings": {
"share_label": "Share"
}
}
},
"block_order": [
"vendor",
"title",
"caption",
"rating",
"price",
"variant_picker",
"quantity_selector",
"buy_buttons",
"description",
"share"
],
"settings": {
"enable_sticky_info": true,
"gallery_layout": "thumbnail_slider",
"media_size": "small",
"mobile_thumbnails": "hide",
"hide_variants": true,
"enable_video_looping": false,
"padding_top": 60,
"padding_bottom": 0
}
},
"collapsible-content": {
"type": "collapsible-content",
"blocks": {
"collapsible-row-0": {
"type": "collapsible_row",
"settings": {
"heading": "Timing and Location Information",
"icon": "map_pin",
"row_content": "
**Date: <\/strong>Saturday 5th November 2022<\/p>**
__**Location:<\/strong> Central Park, Dartford, Kent, DA1<\/p>**__
<strong>__**Gates & Funfair: <\/strong>Open 5pm<\/p>**__</strong>
<strong><strong>__**Bonfire:<\/strong> 7.15pm<\/p>**__</strong></strong>
<strong><strong><strong><strong>Fireworks<\/strong>: 8pm<\/p>",
"page": ""
}
},
"collapsible-row-1": {
"type": "collapsible_row",
"settings": {
"heading": "Collection Information",
"icon": "silhouette",
"row_content": "</strong></strong></strong></strong>
<strong><strong><strong><strong>Free collection from Priory Shopping Centre (near Poundland) from 4th to 5th November 2022 between 10am - 1pm - valid order number is required as proof for collection.<\/strong><\/p>",
"page": ""
}
},
"collapsible-row-2": {
"type": "collapsible_row",
"settings": {
"heading": "Parking Information",
"icon": "truck",
"row_content": "</strong></strong></strong></strong>
<strong><strong>__**Parking:<\/strong><\/p>**__</strong></strong>
<strong><strong>__There will be **no parking<\/strong> in Cranford Road or Ingram Road on the night of the event, enforcement officers will be in attendance.<\/p>**__</strong></strong>
<strong>__**Parking will be available in the Acacia Hall car park and access vial the Millennium bridge entrance (For one night only this car park shall close at 10.30 pm). This is a public car park which is ‘pay and display’.<\/p>**__</strong>
<strong><strong><strong><strong>Market Street regeneration work<\/strong> – Due to the ongoing regeneration work within Market Street, members of the public are asked where possible to use either the <strong>Cranford Road entrance<\/strong> or via the <strong>Millennium Bridge<\/strong> near to the Acacia Hall car park.<\/p>",
"page": ""
}
},
"collapsible-row-3": {
"type": "collapsible_row",
"settings": {
"heading": "Are Pets Allowed?",
"icon": "paw_print",
"row_content": "</strong></strong></strong></strong></strong></strong>
<strong><strong>__**Pets:<\/strong><\/p>**__</strong></strong>
<strong><strong><strong>In the interest of safety and the wellbeing of your pet(s), we strongly recommend that no animals are brought to fireworks night.<\/p>",
"page": ""
}
}
},
"block_order": [
"collapsible-row-0",
"collapsible-row-1",
"collapsible-row-2",
"collapsible-row-3"
],
"settings": {
"caption": "",
"heading": "The Key Information:",
"heading_size": "h2",
"heading_alignment": "left",
"layout": "section",
"color_scheme": "background-1",
"container_color_scheme": "background-2",
"open_first_collapsible_row": true,
"image_ratio": "adapt",
"desktop_layout": "image_second",
"padding_top": 60,
"padding_bottom": 60
}
},
"product-recommendations": {
"type": "product-recommendations",
"settings": {
"heading": "You may also like",
"heading_size": "h2",
"products_to_show": 4,
"columns_desktop": 4,
"color_scheme": "background-1",
"image_ratio": "portrait",
"show_secondary_image": true,
"show_vendor": false,
"show_rating": false,
"columns_mobile": "2",
"padding_top": 0,
"padding_bottom": 60
}
},
"newsletter": {
"type": "newsletter",
"blocks": {
"heading": {
"type": "heading",
"settings": {
"heading": "Subscribe to our emails",
"heading_size": "h1"
}
},
"paragraph": {
"type": "paragraph",
"settings": {
"text": "</strong></strong></strong>
<strong><strong><strong>Be the first to know about new collections and exclusive offers.<\/p>"
}
},
"email-form": {
"type": "email_form",
"settings": {
}
}
},
"block_order": [
"heading",
"paragraph",
"email-form"
],
"settings": {
"color_scheme": "accent-2",
"full_width": true,
"padding_top": 60,
"padding_bottom": 0
}
}
},
"order": [
"main",
"collapsible-content",
"product-recommendations",
"newsletter"
]
}