Giter Site home page Giter Site logo

freshy969 / product-specifications Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dornaweb/product-specifications

0.0 1.0 0.0 125 KB

Woocommerce product specification table plugin

Home Page: https://wordpress.org/plugins/product-specifications/

License: GNU General Public License v2.0

CSS 11.78% PHP 68.41% JavaScript 19.82%

product-specifications's Introduction

Product Specifications for Woocommerce

With Product Specifications plugin you can easily create spec. tables for your products. you can create multiple tables so you can use them for different types of products. Product Specifications is very light-weight and easy to customize.

Plugin is available at Wordpress Repository , There's also a live demo, you can check it out

Available languages

English Persian Russian ( Thanks to Илья Китаев )

To contribute in translating this plugin contact me : [email protected]

Usage

Basic uasge

  • Install and activate the plugin
  • Go to specification tables -> groups and define some Groups
  • Go to specification tables -> attributes and define some attributes associated with groups defined in previous step
  • Go to specification tables -> add new to add a new table for a specific type of product ( eg. for mobile phones )
  • Go to "Products -> add new" under the specifications tables section you see a dropdown which you can select which table should load.
  • Select the table and fill product data in it. That's it.

CSS Customizations

By default, The plugin adds its own styles to the tables, you can however disable plugin's stylesheets in the settings section and style the tables on your own. The specification table is under a div with .dwspecs-product-table CSS class and you can customize it in your CSS files.

Shortcode

You can use [specs-table] shortcode to display specs table.

How to fully customize the HTML markup of the table

Copy the file /inc/views/shortcode-table-view.php file somewhere in your theme and add the below code to your functions.php file

add_filter('dw_specs_table_shortcode_output', 'my_custom_spec_table_markup', 10, 2 );
function my_custom_spec_table_markup( $output, $args ){
	ob_start();
	extract( $args );
	include( 'PATH_TO_COPIED_FILE');
	return ob_get_clean();
}

Changelog

0.3.2

  • Fixed Some CSS problems in admin area

0.3.1

  • Added ability to disable Woocommerce's default information table
  • Added default CSS stylesheet and ability to disable it
  • Added ability to remove true/false fields from specific products
  • Bug fix in group re-ordering
  • Bug fix when product spec. table is empty and it's still shown on product page
  • Some minor bug fixes
  • Updated Persian translation
  • Added Russian language ( Thanks to Илья Китаев )

0.2

  • Some bugs fixed

product-specifications's People

Contributors

amiut avatar

Watchers

 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.