WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Amazing WP e-Commerce

Enable some of the WP e-Commerce disabled features and simplify your development.

What functions are there to use?

  • (get|the)_product_price()
  • (get|the)_product_description()
  • (get|the)_product_thumbnail()
  • (get|the)_product_image()
  • (get|the)_product_title()
  • (get|the)_product_id()
  • get_product_categories()
  • get_product_category_slug()
  • list_product_categories()
  • get_additional_images()

What's the difference between "get" and "the" prefix functions?

"Get" function return the wanted value, whereas "the" function echoes it.

Are there any filters or actions to use?

Yes, there are many filters to affect the work of this plugin.

Filters:

  • amazing_gallery_container_style - (string) Gallery thumbnail images container style tag
  • amazing_gallery_container_class - (array) Gallery thumbnail images container classes
  • amazing_gallery_thumbnail - (array) Gallery thumbnail images arguments (title, alt tag, class)
  • amazing_gallery_link_class - (array) Gallery thumbnail image link classes
  • before_amazing_categories_list - (string) Categories
  • load_amazing_style - (boolean) To prevent plugin`s stylesheet to be loaded, you have to return false.
  • load_amazing_script - (boolean) To prevent plugin`s javascript to be loaded, you have to return false. By using this filter and returning false, you can disable the Extra Thumbnails feature of this plugin.
  • amazing_grid_classes - (array) Grid wrapper div classes
  • amazing_extra_image_classes - (string) Product extra thumbnail classes

How to disable Extra Thumbnails feature?

There is a nice way to do it:

add_filter( 'load_amazing_script', 'disable_amazing_ecommerce_script' );

function disable_amazing_ecommerce_script( $enable ) {
    return false;
}

Requires: 3.0.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-12
Downloads: 1,658

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
0,1,0