Code Monkey home page Code Monkey logo

bc-product-page-brand-descriptions's Introduction

BigCommerce-Product-Page-Brand-Descriptions

BigCommerce Product Page Brand Descriptions that are based on the brand of the product and are dynamically pulled from a separate page and added to the product page


Installation

  1. Add ProductPageBrandDescriptions.html Panel file to your folder in WebDAV/dav/template/Panels
  2. To access your WebDAV panel, BigCommerce gives you instructions in your Admin Panel.
  3. Click "Design" in the top right corner of your store admin panel.
  4. Then click "WebDAV" in the "Current Theme" section and follow the instructions
  5. Place %%Panel.ProductPageBrandDescriptions%% in Panels/ProductDescription.html, right after "%%GLOBAL_ProductDescriptionOptimizerNoScriptTag%%"
  • Example
<div class="Block Moveable Panel ProductDescription" id="ProductDescription">
    <h3 class="subtitle">%%LNG_ProductDescription%%</h3>
    <div class="ProductDescriptionContainer prodAccordionContent">
        %%GLOBAL_ProductDescriptionOptimizerScriptTag%%
        %%GLOBAL_ProductDesc%%
        %%GLOBAL_ProductDescriptionOptimizerNoScriptTag%%

        %%Panel.ProductPageBrandDescription%%
        
    </div>
    <!--<hr style="%%GLOBAL_HideSectionSeparator%%" class="ProductSectionSeparator" />-->
</div>

<div itemscope itemtype="http://schema.org/Product" style="display: none;"> 
     <span itemprop="name">%%GLOBAL_ProductName%%</span> 
     <span itemprop="description">%%GLOBAL_ProductDesc%%</span> 
     <img itemprop="image" src="%%GLOBAL_InitialZoomImage%%"/> 

     <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> 
          <span itemprop="price">%%GLOBAL_ProductPrice%%</span> 
     </div> 
</div>  

BigCommerce Product Page Brand Description Installation Example

  1. Add all Brand descriptions to the /brand-descriptions/ page. The format is as follows:
<div id="DankStopTheBest">
    <div align="left">
    	<strong>DankStop aims to be the worlds best online headshop. </strong>
    </div>
</div>
<hr class="top-sep" />
<div id="AMG GLASS" class="brand-banner">
    <div class="brand-logo"><a href="http://dankstop.com/brands/AMG-GLASS.html"> <img class="brand-image" src="http://cdn6.bigcommerce.com/s-ss4br/product_images/w/amglogo_1412039908__85126.jpg" alt="AMG Glass" height="100" /></a>
    </div>
    <div class="brand-info">
    	<h3 class="brand-name">About <a href="http://dankstop.com/brands/AMG-GLASS.html">AMG Glass</a></h3>
        <p class="brand-description">AMG stands for American Made Glass, and they stay true to the name. Their glass water pipes, concentrate rigs, and bubblers are all made out of thick borosilicate glass right here in the USA. Want an AMG product customized? Contact us by phone or email for to order an AMG piece in a style or color you don't see here. <a href="http://dankstop.com/brands/AMG-GLASS.html">Learn more about AMG Glass...</a>
        </p>
    </div>
</div>
<p>
	<span class="divvvider">===============================================================</span>
</p>
<hr class="top-sep" />
<div id="420 Stands" class="brand-banner">
    <div class="brand-logo">
    	<a href="http://dankstop.com/brands/420-stands"> <img class="brand-image" src="http://cdn6.bigcommerce.com/s-ss4br/product_images/h/420standslogo_1412039891__12902.png" alt="420 Stands" height="100" /></a>
    </div>
    <div class="brand-info">
	    <h3 class="brand-name">About <a href="http://dankstop.com/brands/420-stands">420 Stands</a></h3>
        <p class="brand-description">These awsome little bowl/slide holders will prevent that awful feeling of dropping a freshly packed slide on the ground. We've all been there, and the guys at 420Stands decided to do something about it. Made in a basement in California using a 3d Printer, these guys put their blood sweat and tears into individually printing each stand. Rest your dabber on the stand between hits to keep it from getting lint anall kinds of junk stuck to it. All 420 Stands are handmade and are uniquely different with naturally occurring bubbles and imperfections. While we think this makes them even more awesome, beauty is in the eye of the beholder. If you receive a stand you are not 100% happy with for whatever reason just contact us and we will take care of it. Return your stand within thirty (30) days and we will gladly exchange it for another color, size, or model. <a href="http://dankstop.com/brands/420-stands">Learn more about 420 Stands...</a>
        </p>
    </div>
</div>
<p>
	<span class="divvvider">===============================================================</span>
</p>
<hr class="top-sep" />

Using

Just install and it'll do the work for you!

Other BigCommerce modules that I've made


Support

⚐ Please help me spend more time developing and maintaining awesome modules like this by donating!

The absolute best thing to do is to sign up with ChangeTip or GratiPay if you haven't already and donate just $1 a week. That is roughly a cup of coffee per month. Also, please do donate to many other amazing open source projects!

ChangeTip donate button GratiPay donate button


To Do

  1. Dynamic Product type inside DankStop description description based on the type of the current product
  2. Improve CSS

Resources


License

The MIT License (MIT)

Copyright (c) 2014 Andre Bulatov

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

bc-product-page-brand-descriptions's People

Stargazers

Sebastian Patron avatar Yaroslav avatar  avatar

Watchers

James Cloos avatar Andre Bulatov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.