wordpress estore plugin shortcode and functon reference

 

 

 

 

 

 

[wp_eStore_add_to_cart id=1]
Displays an “Add to Cart” button in a post or page
[wp_eStore_fancy1 id=1]
Displays an “Add to Cart” button with stylish thumbnail image, product name, description etc in a post or page
[wp_eStore_fancy2 id=1]
Displays an “Add to Cart” button with stylish thumbnail image, product name, description etc in a post or page
[wp_eStore_cart]
Display the shopping cart on a post or page
[wp_eStore_cart_when_not_empty]
Display the shopping cart on a post or page but the cart is visible only when there are items in the cart
[wp_eStore_cart_fancy1]
Display the shopping cart with a bit more style on a post or page (this is the shopping cart display used on tips and tricks HQ’s checkout page)
[wp_eStore_cart_fancy1_when_not_empty]
Display the shopping cart with a bit more style on a post or page but the cart is visible only when there are items in the cart
[wp_eStore_cart_fancy2]
Display the shopping cart with a slightly different style
[wp_eStore_buy_now_button id=1]
Displays a “Buy Now” type button on a post or page
[wp_eStore_buy_now_fancy id=1]
Displays an “Buy Now” type button with stylish thumbnail image, product name, description etc in a post or page
[wp_eStore_subscribe:product_id:1:end]
Displays a “Subscription” type button in a post or page
[wp_eStore_subscribe_fancy id=1]
Displays a “Subscription” type button with stylish thumbnail image, product name, description etc in a post or page
[wp_eStore_free_download_squeeze_form id=1]
Displays a “Squeeze” type form in a post or page
[wp_eStore_free_download_ajax:product_id:5:end]
Displays an ajax powered squeeze page type form
[wp_eStore_category_products:category_id:1:end]
Display all the product(s) from a particular category in a post or page (Please note that 1 is the category ID here)
[wp_eStore_category_fancy id=1]
Display a category with stylish thumbnail image, category name, description in a post or page
[wp_eStore_list_categories_fancy]
Display a list of all categories in a stylish way in a post or page
[wp_eStore_all_products_stylish:end]
Display a list of all products in a stylish way in a post or page
[wp_eStore_list_products]
Display a simple list of all products (just the name, price and the Buy button of each product is displayed in a table)
[wp_eStore_sale_counter id=1]
Display the “Sale Counter” of a product on a post or page
[wp_eStore_remaining_copies_counter id=1]
Display the “Available Copies” counter on a post or page
[wp_eStore_download_now_button id=1]
Display a button that lets the visitor download a product (this way the actual location of the product doesn’t get revealed to the user when they download it)
[wp_eStore_download_now_button_fancy id=1]
Display a download now button in a stylish way that lets the visitor download a product (this way the actual location of the product doesn’t get revealed to the user when they download it)
[wp_eStore_download_now_button_fancy_no_price id=1]
Display a download now button in a stylish way that lets the visitor download a product (this way the actual location of the product doesn’t get revealed to the user when they download it)
[wp_eStore_buy_now_custom_button id=1 button=http://your-domain.com/images/buy-now.gif]
Displays a “Buy Now” type button with the image specified in the shortcode as the button image
[wp_eStore_product_details id=1 info=”name”]
Dynamically display a particular details of the specified product. This example on the left will display the name of the product whose ID is 1. You can change the value of the “info” parameter to customize what details of the product you show. For example: info=”price” – price of the product info=”description” – description of the product info=”sales_count” – sales count of the product info=”available_copies” – available copies of the product
[wp_eStore_order_summary]
Display a summary list of all the items that are in the shopping cart.
[wp_eStore_save_retrieve_cart]
Display a save and retrieve shopping cart section to allow your customers to save the current shopping cart or retrieve a previously saved cart.
PHP Function Reference
Effect
<?php echo get_button_code_for_product(1); ?>
Displays an “Add to Cart” button from a Theme file (eg. Sidebar, header, footer)
<?php echo show_product_fancy_style(1); ?>
Stylish Display of an “Add to Cart” button from a Theme file (eg. Sidebar, header, footer)
<?php echo show_product_fancy_style2(1); ?>
Different Stylish Display of an “Add to Cart” button from a Theme file (eg. Sidebar, header, footer)
<?php echo print_eStore_buy_now_button(1); ?>
Displays a “Buy Now” type button from a Theme file (eg. Sidebar, header, footer)
<?php echo print_eStore_subscribe_button_form(1); ?>
Displays a “Subscription” button from a Theme file (eg. Sidebar, header, footer)
<?php echo eStore_free_download_form(1); ?>
Displays a “Squeeze” type form from a Theme file (eg. Sidebar, header, footer)
<?php echo show_products_from_category(1); ?>
Display all the product(s) from a particular category from a Theme file (eg. Sidebar, header, footer) (Please note that 1 is the category ID here)
<?php echo show_category_stylish(1); ?>
Display a category with stylish thumbnail image, category name, description from a template file
<?php echo show_all_categories_stylish(); ?>
Display a list of all categories in a stylish way from a Theme file (eg. Sidebar, header, footer)
<?php echo eStore_print_all_products_stylish(); ?>
Display a list of all products in a stylish way from a Theme file (eg. Sidebar, header, footer)
<?php echo eStore_shopping_cart(); ?>
Display the shopping cart from a Theme file (eg. Sidebar, header, footer) only when there are items in the cart
<?php echo wp_digi_cart_always_show(); ?>
Always Display the shopping cart from a Theme file (eg. Sidebar, header, footer)
<?php echo eStore_shopping_cart_fancy1(); ?>
Display the shopping cart from a Theme file (eg. Sidebar, header, footer) with a bit of style
<?php echo eStore_shopping_cart_fancy1_when_not_empty(); ?>
Display the shopping cart from a Theme file (eg. Sidebar, header, footer) with a bit of style. The cart is only visible when there are items in it.
<?php echo eStore_get_sale_counter(1); ?>
Display the “Sale Counter” of a product from a Theme file
<?php echo eStore_get_remaining_copies_counter(1); ?>
Display the “Available Copies” counter from a Theme file
<?php echo eStore_show_download_now_button(1); ?>
Display a button that lets the visitor download a product from a theme file (this way the actual location of the product doesn’t get revealed to the user when they download it)
<?php echo eStore_show_product_details(1,”name”); ?>
Dynamically display a particular details of the specified product. This example on the left will display the name of the product whose ID is 1. You can change the value of the 2nd parameter to customize what details of the product you show. See the shortcode version of this function above for more details