Hide product prices for non-logged in users

When users view your products, they’ll see a screen similar to the one below of an example Topicals product. The details shown are the vendor name, product title and price along with the add to cart button and categories. In eCommerce v1.3 we’ve introduced a new option that lets you hide the add to cart […]

 

eCommerce Filters

Below is a list of the current eCommerce add-on filters and the files they’re included in. File: wpd-ecommerce.php wpd_ecommerce_cookie_lifetime wpd_ecommerce_post_type_templates wpd_ecommerce_payment_type_name_delivery wpd_ecommerce_payment_type_name_pop wpd_ecommerce_payment_type_name_ground File: checkout/checkout-shortcode.php wpd_ecommerce_checkout_after_order_details wpd_ecommerce_checkout_email_to_admin wpd_ecommerce_checkout_email_subject_admin wpd_ecommerce_checkout_email_message_admin wpd_ecommerce_checkout_email_subject_patient wpd_ecommerce_checkout_email_message_patient File: includes/wpd-ecommerce-core-functions.php wpd_ecommerce_box_notifications_array wpd_ecommerce_single_item_price File: includes/wpd-ecommerce-orders-functions.php wpd_ecommerce_order_statuses File: patients/patient-account-shortcode.php wpd_ecommerce_account_admin_patients_text File: templates/single-item.php wpd_ecommerce_single_item_image_size wpd_ecommerce_single_item_no_image

 

WP Dispensary filters

Below is a list of the current WP Dispensary core plugin filters and the files they’re included in. File: admin/post-types/wp-dispensary-metaboxes.php wpd_compound_details_screens wpd_prices_screens wpd_concentrateprices_screens wpd_singleprices_screens wpd_topicalprices_screens wpd_grower_product_details_screens wpd_thc_cbd_mg_screens wpd_thccbdtopical_screens wpd_clonedetails_screens wpd_preroll_weight_screens File: admin/post-types/wp-dispensary-taxonomies.php wpd_tax_shelf_type wpd_tax_strain_type wpd_vendor_tax_type wpd_aroma_tax_type wpd_flavor_tax_type wpd_effect_tax_type wpd_symptom_tax_type wpd_condition_tax_type wpd_ingredients_tax_type wpd_allergens_tax_type File: admin/post-types/wp-dispensary-widgets.php wpd_widgets_featured_image_sizes File: admin/wp-dispensary-admin-screens.php wpd_admin_screen_thumbnails File: admin/wp-dispensary-admin-settings.php wpd_ecommerce_checkout_payment_options File: admin/wp-dispensary-data-output.php wpd_original_array wpd_content_array wpd_dataoutput_before_array wpd_dataoutput_top_array wpd_dataoutput_title_array wpd_dataoutput_bottom_array wpd_dataoutput_end_array wpd_pricingoutput_top_array […]

 

Locations add-on shortcode

All options: [wpd-locations posts=”100″ id=”” class=”” name=”show” info=”show” thc=”” thca=”” cbd=”” cba=”” cbn=”” cbg=”” totalthc=”” title=”Dispensary Menu” category=”” aroma=”” flavor=”” effect=”” symptom=”” condition=”” vendor=”” shelf_type=”” strain_type=”” weight=”show” orderby=”” meta_key=”” type=”flowers, concentrates, edibles, pre-rolls, topicals, growers” imgsize=”dispensary-image” location=””] Example output:

 

Customize logo image size for desktop and mobile screens

By default, the maximum width for logo images is 400px and is set via CSS in the CannaBiz theme. The maximum width keeps horizontal shaped logos from stretching too far across the page, like in the WP Dispensary demo. In order to customize your logo image size, we’ll be adding some quick CSS updates. First, […]

 

WP Dispensary helper functions

Below is a list of the current WP Dispensary core plugin helper functions and the files they’re included in. File: includes/functions/wp-dispensary-pricing-functions.php wpd_flowers_prices_simple get_wpd_flowers_prices_simple wpd_concentrates_prices_simple get_wpd_concentrates_prices_simple wpd_edibles_prices_simple get_wpd_edibles_prices_simple wpd_prerolls_prices_simple get_wpd_prerolls_prices_simple wpd_topicals_prices_simple get_wpd_topicals_prices_simple wpd_growers_prices_simple get_wpd_growers_prices_simple wpd_all_prices_simple get_wpd_all_prices_simple wpd_pricing_phrase get_wpd_pricing_phrase wpd_flowers_prices_array File: admin/wp-dispensary-functions.php wpd_currency_code get_wpd_details_phrase wpd_compounds_simple get_wpd_compounds_simple wpd_compounds_array get_wpd_compounds_array wpd_menu_types wpd_menu_types_simple wpd_flowers_weights_array wpd_concentrates_weights_array

 

WP Dispensary action hooks

Below is a list of the current WP Dispensary core plugin action hooks and the files they’re included in. File: admin/post-types/wp-dispensary-widgets.php wpd_flowers_widget_before wpd_flowers_widget_inside_loop_before wpd_flowers_widget_inside_top wpd_flowers_widget_inside_bottom wpd_flowers_widget_inside_loop_after wpd_flowers_widget_after wpd_concentrates_widget_before wpd_concentrates_widget_inside_loop_before wpd_concentrates_widget_inside_top wpd_concentrates_widget_inside_bottom wpd_concentrates_widget_inside_loop_after wpd_concentrates_widget_after wpd_edibles_widget_before wpd_edibles_widget_inside_loop_before wpd_edibles_widget_inside_top wpd_edibles_widget_inside_bottom wpd_edibles_widget_inside_loop_after wpd_edibles_widget_after wpd_prerolls_widget_before wpd_prerolls_widget_inside_loop_before wpd_prerolls_widget_inside_top wpd_prerolls_widget_inside_bottom wpd_prerolls_widget_inside_loop_after wpd_prerolls_widget_after wpd_topicals_widget_before wpd_topicals_widget_inside_loop_before wpd_topicals_widget_inside_top wpd_topicals_widget_inside_bottom wpd_topicals_widget_inside_loop_after wpd_topicals_widget_after wpd_growers_widget_before wpd_growers_widget_inside_loop_before wpd_growers_widget_inside_top wpd_growers_widget_inside_bottom […]

 

eCommerce Action Hooks

Below is a list of the current eCommerce add-on action hooks and the files they’re included in. File: cart/cart-shortcode.php wpd_ecommerce_cart_table_before wpd_ecommerce_cart_table_inside_body_before wpd_ecommerce_cart_table_inside_body_after wpd_ecommerce_cart_table_after wpd_ecommerce_cart_wrap_before wpd_ecommerce_cart_totals_before wpd_ecommerce_cart_totals_inside_before wpd_ecommerce_cart_totals_inside_after wpd_ecommerce_cart_totals_after wpd_ecommerce_cart_wrap_after File: cart/cart-widget.php wpd_ecommerce_widget_before wpd_ecommerce_widget_after File: checkout/checkout-shortcode.php wpd_ecommerce_checkout_billing_details_form_before wpd_ecommerce_checkout_billing_details_form_inside_before wpd_ecommerce_checkout_billing_details_form_after_billing_details_title wpd_ecommerce_checkout_billing_details_form_after_billing_details wpd_ecommerce_checkout_billing_details_form_after_your_order_title File: patients/patient-account-shortcode.php wpd_ecommerce_patient_account_form_before wpd_ecommerce_patient_account_form_before_inside wpd_ecommerce_patient_account_contact_information_before wpd_ecommerce_patient_account_contact_information_after wpd_ecommerce_patient_account_password_change_before wpd_ecommerce_patient_account_form_inside_after wpd_ecommerce_patient_account_form_after wpd_ecommerce_patient_account_login_form_before wpd_ecommerce_patient_account_login_form_before_inside wpd_ecommerce_patient_account_login_form_after_inside wpd_ecommerce_patient_account_login_form_after wpd_ecommerce_patient_account_register_form_before wpd_ecommerce_patient_account_register_form_before_inside […]