Add Dynamically Updated Prices Next To Your BigCommerce Store Product Options
This isn’t a typical Crunchy Blog post but we’ve been in the process of setting up our online technology store using a solution called BigCommerce. Its a pretty robust ecommerce platform to help you quickly setup an online store with SSL certificate/PCI Compliance/Google Shopping integration yada yada yada. The only problem is, it doesn’t display price rule adjustments next to the option click value which we thought was a pretty standard store feature.
You can see the implementation of our code working at our online store at https://crunchytech.com/32-touch-overlay/
Right click this link and click “Save target as” or “Save link as”.
This is our code written to make this feature functional.
You’ll need to WebDav into your BigCommerce installation and upload the file you just saved called optionPriceDifference.js into your root directory content folder. If you do not know how to WebDav into your BigCommerce installation, read this guide here.
This is the last step. Log into the online BigCommerce store manager and navigate to editing the product.html template file shown in the below images:
You’ll just want to paste this snippet after the referenced lines above:
You can control the style of the text added next to the option name by creating a custom CSS style called .priceoption
Our CSS entry looks like this:
I hope this helps someone out there! Please give us feedback or let us know if you’d like something custom designed or coded for BigCommerce or your E-Commerce platform! Happy selling!