Configuring WP Dispensary Settings

On this page we’re going to walk through the settings available in WP Dispensary. You’ll find information about General WP Dispensary settings as well as additional Product, Tax, Payments, Accounts, Patient Verification settings included in our eCommerce add-on. Display Settings The following settings change the way your products display content on the front end of […]

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 […]

Change “Patients” text on admin’s Account page

On the Account page that is created when you install our eCommerce add-on, a quick overview of data shows up for the administrator and looks like the screenshot below. If you’d like to change the text for “Patients” to read “Vendors”, you can copy the code snippet below to your theme’s functions.php file. [snippet slug=wpd_ecommerce_account_admin_patients_text […]

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