Skip to content

Latest commit

 

History

History
269 lines (253 loc) · 23.8 KB

CHANGELOG.md

File metadata and controls

269 lines (253 loc) · 23.8 KB

Changelog

2.3.0

  • Added wpd_ecommerce_checkout_success_before action hook in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_checkout_success_after action hook in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_checkout_email_headers_customer filter in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_checkout_email_headers_admin filter in checkout/checkout-shortcode.php
  • Added verified purchase badge to comments in includes/wpd-ecommerce-orders-functions.php
  • Added wpd_ecommerce_countries_list function and filter in checkout/checkout-shortcode.php
  • Bugfix for the list menu style price display for topicals in includes/extend/styles/admin/class-wpd-styles-filters.php
  • Bugfix for payment type check during checkout in checkout/checkout-shortcode.php
  • Updated payment type display in order metabox in orders/orders-metaboxes.php
  • Updated payment type display in order thank you page details in templates/single-order.php
  • Updated orders post type capabilities and restrictions in orders/orders-post-type.php
  • Updated plugin to include the wpd-styles add-on directly
  • Updated language translation files for all included translations
  • Updated for PHP 8 compatibility in multiple files throughout the plugin
  • WordPress Coding Standards updates in multiple files throughout the plugin
  • General code cleanup throughout various files in the plugin

2.2.0

  • Added media library restrictions to only display user uploads in includes/wpd-ecommerce-customers-functions.php
  • Added new cannabiz_uploads folder to wp-content/uploads/ in includes/wpd-ecommerce-core-functions.php
  • Added file name randomizer for files uploaded through the User Verification settings in includes/wpd-ecommerce-customers-functions.php
  • Added wpd_ecommerce_cart_details helper function in includes/wpd-ecommerce-cart-functions.php
  • Added wpd_heavyweights_flowers_product_prices helper function in includes/extend/heavyweights/admin/wpd-heavyweights-functions.php
  • Added wpd_heavyweights_prices_metabox_save_price_keys helper function in includes/extend/heavyweights/admin/wpd-heavyweights-functions.php
  • Added wpd_ecommerce_customer_account_shortcode_tabs filter in customers/customer-account-shortcode.php
  • Added wpd_ecommerce_customer_account_shortcode_sections filter in customers/customer-account-shortcode.php
  • Bugfix for order status html output display on single order page in templates/single-order.php
  • Updated single product template to include star ratings in includes/wpd-ecommerce-core-functions.php
  • Updated single item template to include comments form in templates/single-item.php
  • Updated metaboxes to remove the Heavyweights Prices metabox in includes/extend/heavyweights/admin/class-wpd-heavyweights-admin.php
  • WordPress Coding Standards updates in multiple files throughout the plugin
  • General code cleanup throughout various files in the plugin

2.1.0

  • Added wpd_ecommerce_login_to_checkout_register_button_url filter in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_allowed_tags helper function in includes/wpd-ecommerce-core-functions.php
  • Added 'Curbside pickup' option to payment options in includes/wpd-ecommerce-activation.php
  • Added 'Curbside pickup' option to payment options in includes/wpd-ecommerce-core-functions.php
  • Bugfix updated 'require login to checkout' functionality in checkout/checkout-shortcode.php
  • Bugfix product category archive not displaying out of stock message in includes/extend/inventory/includes/wpd-inventory-functions.php
  • Updated inventory metabox to use wpd_ecommerce_allowed_tags helper function in includes/extend/inventory/admin/class-wpd-inventory-metaboxes.php
  • Updated product thumbnail display in cart, checkout and order details in classes/class-item.php
  • Updated product thumbnail display in cart, checkout and order details in includes/wpd-ecommerce-orders-functions.php
  • Updated language translation files for all included translations
  • WordPress Coding Standards updates in multiple files throughout the plugin
  • General code cleanup throughout various files in the plugin

2.0

  • Added inventory, topsellers, locations and heavyweights add-ons directly to the eCommerce plugin
  • Added Spanish language translation in languages/wpd-ecommerce-es_ES.po
  • Added Italian language translation in languages/wpd-ecommerce-it_IT.po
  • Added German language translation in languages/wpd-ecommerce-de_DE.po
  • Added French language translation in languages/wpd-ecommerce-fr_FR.po
  • Added Croatian language translation in languages/wpd-ecommerce-hr_HR.po
  • Added French language translation in languages/wpd-ecommerce-cs_CZ.po
  • Added Georgian language translation in languages/wpd-ecommerce-ka_GE.po
  • Added Hebrew language translation in languages/wpd-ecommerce-he_IL.po
  • Added Maltese language translation in languages/wpd-ecommerce-mt_MT.po
  • Added Dutch language translation in languages/wpd-ecommerce-nl_NL.po
  • Added wpd_ecommerce_cart_empty_message filter in cart/cart-shortcode.php
  • Added wpd_ecommerce_cart_empty_menu_url and wpd_ecommerce_empty_cart_return_to_menu_text filters in cart/cart-shortcode.php
  • Added wpd_ecommerce_locations_widget_post_types filter in includes/extend/locations/admin/class-wpd-locations-widgets.php
  • Added wpd_ecommerce_table_order_data_thead and wpd_ecommerce_table_order_data_tbody filters in includes/wpd-ecommerce-orders-functions.php
  • Added wpd_ecommerce_checkout_minimum_order and wpd_ecommerce_require_login_to_shop helper functions in includes/wpd-ecommerce-admin-settings-functions.php
  • Added wpd_ecommerce_register_form and wpd_ecommerce_login_form helper functions in includes/wpd-ecommerce-customers-functions.php
  • Added wpd_ecommerce_get_order_details helper function in includes/wpd-ecommerce-orders-functions.php
  • Added wpd_ecommerce_cart_subtotal helper function in includes/wpd-ecommerce-cart-functions.php
  • Added get_wpd_cookie_lifetime helper function in includes/wpd-ecommerce-core-functions.php
  • Added wpd_ecommerce_archive_template_data helper function in includes/wpd-ecommerce-archive-items-functions.php
  • Added wpd_ecommerce_customer_total_order_count helper function in includes/wpd-ecommerce-orders-functions.php
  • Added wpd_ecommerce_get_orders_details helper function in includes/wpd-ecommerce-orders-functions.php
  • Added wpd_ecommerce_templates_single_items_item_types_inside action hook in templates/single-item.php
  • Added 'register' button to login notice on the checkout page in checkout/checkout-shortcode.php
  • Added 'continue shopping' button to item successfully added notification in includes/wpd-ecommerce-core-functions.php
  • Added new wpd_categories taxonomy display in single template in templates/single-item.php
  • Added success message when patient details are saved in includes/wpd-ecommerce-core-functions.php
  • Added CSV_Customers_Export class in classes/csv-customer-export.php
  • Added vendor logo to archive template in templates/archive-items.php
  • Bugfix pagination link error in taxonomy archives in templates/archive-items.php
  • Bugfix empty cart check in wpd_cart shortcode in cart/cart-shortcode.php
  • Bugfix 'Out of Stock' message on taxonomy archives for items with no inventory in @TODO UPDATE FILE NAME
  • Updated translation array to check if session is set in wpd-ecommerce.php
  • Updated checkout URL to use helper function in cart/cart-shortcode.php
  • Updated the Item Class to use wpd_concentrates_prices_array helper function in classes/class-item.php
  • Updated flower and concentrate weight calculations to use get_options values in includes/wpd-ecommerce-core-functions.php
  • Updated insufficient inventory messages in includes/wpd-ecommerce-core-functions.php
  • Updated taxonomies to keep WPD admin_menu open in includes/extend/locations/wpd-locations.php
  • Updated out of stock inventory check in includes/wpd-ecommerce-core-functions.php
  • Updated out of stock inventory check in includes/extend/inventory/admin/class-wpd-inventory-metaboxes.php
  • Updated out of stock inventory check in includes/wpd-ecommerce-archive-items-functions.php
  • Updated single order redirect codes to use a separate action filter in includes/wpd-ecommerce-orders-functions.php
  • Updated heavyweights metabox to display in the Products post type in includes/extend/heavyweights/admin/class-wpd-heavyweights-admin.php
  • Updated session codes to be stored in their own file in includes/wpd-ecommerce-sessions-functions.php
  • Updated activation codes to be stored in their own file in includes/wpd-ecommerce-activation.php
  • Updated coupon check when customer tries applying a coupon in @TODO FIND URL FOR HERE
  • Updated customer user role creation in includes/wpd-ecommerce-activation.php
  • Updated 'buy now' button checks for topicals in includes/wpd-ecommerce-archive-items-functions.php
  • Updated single product template wrapper in includes/wpd-ecommerce-core-functions.php
  • Updated Item and Cart classes to calculate the correct sum for subtotal in classes/class-cart.php and classes/class-item.php
  • Updated account page URL helper functions in includes/wpd-ecommerce-core-functions.php
  • Updated inventory metaboxes to use a single metabox in includes/extend/inventory/admin/class-wpd-inventory-metaboxes.php
  • Updated cookie creation to use new helper function time in wpd-ecommerce.php
  • Updated single template file to be used with new Products post type in wpd-ecommerce.php
  • Updated inventory 'out of stock' notice for Growers product type in includes/extend/inventory/includes/wpd-inventory-functions.php
  • Updated inventory 'out of stock' notice for Growers product type in includes/wpd-ecommerce-archive-items-functions.php
  • Updated inventory 'out of stock' notice for Growers product type in includes/wpd-ecommerce-core-functions.php
  • Updated quantity select box styles in assets/css/wpd-ecommerce-publics.css
  • Updated cart widget styles in assets/css/wpd-ecommerce-public.css
  • Updated product table styles to only apply to cart widget in assets/css/wpd-ecommerce-public.css
  • Updated product add to cart form field styles in assets/css/wpd-ecommerce-public.css
  • Updated .pot file with text strings for localization in languages/wpd-ecommerce.pot
  • Updated all instances of 'patients' to 'customers' in multiple files throughout the plugin
  • Updated variable checks to remove PHP notices in multiple files throughout the plugin
  • Updated meta keys to use the new name structure in multiple files throughout the plugin
  • General code cleanup throughout various files in the plugin

1.7

  • Added wpd_ecommerce_archive_items_product_image_size filter in templates/archive-items.php
  • Bugfix added the product details filter's missing arg in templates/archive-items.php
  • Updated CSS to remove unnecessary styles for menu items in assets/css/wpd-ecommerce-public.css
  • Updated styles for account page patients, orders and earnings boxes on mobile in assets/css/wpd-ecommerce-public.css
  • Updated the single product template to use the wpd_product_image helper function in templates/single-item.php
  • Updated archive template to use flexbox in templates/archive-items.php
  • Updated flexbox styles for archive template in assets/css/wpd-ecommerce-public.css

1.6

  • Added wpd_ecommerce_payment_types helper function in includes/wpd-ecommerce-core-functions.php
  • Added wpd_ecommerce_checkout_return_to_menu_url and wpd_ecommerce_checkout_return_to_menu_text filters in checkout/checkout-shortcode.php
  • Added JavaScript file with codes to update the total price when a payment type is selected in assets/js/wpd-ecommerce-public.js
  • Added styles for the payment types in Your Orders table on checkout in assets/css/wpd-ecommerce-public.css
  • Bugfix total price in cart when a coupon is applied in cart/cart-shortcode.php
  • Bugfix total price in checkout when a coupon is applied in checkout/checkout-shortcode.php
  • Bugfix critical error in the wpd_ecommerce_menu_url helper function in inclused/wpd-ecommerce-core-functions.php
  • Updated excise and sales tax checks to hide them if they're null or 0 in cart/cart-shortcode.php
  • Updated payment name check to only display if payment_type_name is set in session in cart/cart-shortcode.php
  • Updated checkout page to only show instructions text if Ground Shipping is activated in includes/wpd-ecommerce-core-functions.php
  • Updated checkout to include all active payment types as selectable options that update total price in checkout/checkout-shortcode.php
  • Updated javascript/AJAX to update the total price when a payment type is selected in wpd-ecommerce.php
  • Updated post->ID to use get_the_ID() instead in includes/wpd-ecommerce-core-functions.php
  • Updated .pot file with text strings for localization in languages/wpd-ecommerce.pot
  • General code cleanup throughout various files in the plugin

1.5

  • Added Font Awesome v4.7 to the admin pages in wpd-ecommerce.php
  • Added default settings for ground shipping in wpd-ecommerce.php
  • Added order date and total columns to All Orders page in orders/orders-post-type.php
  • Added thc_topical to the list of details to show for products in templates/archive-items.php
  • Added 2 filters for archive items template in templates/archive-items.php
  • Added wpd_ecommerce_payment_type_name_ground filter in wpd-ecommerce.php
  • Added wpd_ecommerce_checkout_billing_details_form_countries filter in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_patient_account_details_form_countries filter in patients/patient-account-shortcode.php
  • Added wpd_ecommerce_checkout_success_your_order_table_before action hook in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_checkout_success_your_order_table_before action hook in checkout/checkout-shortcode.php
  • Added wpd_ecommerce_patients_registration_redirect filter in includes/wpd-ecommerce-patients-functions.php
  • Added wpd_ecommerce_template_archive_items_product_details filter in templates/archive-items.php
  • Added compounds to the single item template in templates/single-item.php
  • Update buttons in shortcode with out of stock message if no inventory is available in includes/wpd-ecommerce-archive-items-functions.php
  • Updated add to cart form to replace it with an out of stock message if no inventory is available in includes/wpd-ecommerce-core-functions.php
  • Updated .pot file with text strings for localization in languages/wpd-ecommerce.pot
  • Updated the $_POST data to use sanitize_text_field function in multiple files
  • Updated redirects to use wpd_ecommerce_account_url helper function in multiple files
  • General code cleanup throughout various files in the plugin

1.4

  • Added wpd_ecommerce_checkout_after_order_details filter in checkout/checkout-shortcode.php
  • Added Ground shipping instructions text on checkout after order details in includes/wpd-ecommerce-cart-functions.php
  • Added PAYMENT_TYPE_AMOUNT defined for Ground shipping option in wpd-ecommerce.php
  • Added wpd_ecommerce_payment_type_name_delivery filter in wpd-ecommerce.php
  • Added wpd_ecommerce_payment_type_name_pop filter in wpd-ecommerce.php
  • Added default weights for Heavyweights weights in wpd-ecommerce.php
  • Added default settings for ground shipping in wpd-ecommerce.php
  • Added 4 filters for the order success emails sent to admin and patient in checkout/checkout-shortcode.php
  • Added checks for available inventory of product and display error message if patient is trying to add too much to the cart in includes/wpd-ecommerce-core-functions.php
  • Updated to use 13-50 pounds Heavyweights prices in includes/wpd-ecommerce-core-functions.php
  • Updated "Return to menu" text in cart functions in cart/cart-shortcode.php
  • Updated select a weight message for concentrates to be hidden if product is only using price_each in includes/wpd-ecommerce-core-functions.php
  • Updated .pot file with text strings for localization in languages/wpd-ecommerce.pot
  • General code cleanup

1.3

  • Added 8 action hooks in the patient shortcode in patient/patient-account-shortcode.php
  • Added wpd_ecommerce_account_admin_patients_text filter in patient/patient-accont-shortcodes.php
  • Added wpd_ecommerce_single_item_price filter in includes/wpd-ecommerce-core-functions.php
  • Added wpd_ecommerce_cookie_lifetime filter in wpd-ecommerce.php
  • Added the ID arguement to wpd_compounds_simple helper function in templates/single-item.php
  • Added price text to items in the product archive template in templates/archive-items.php
  • Added notifications when no weight/quantity are selected when adding to cart in includes/wpd-ecommerce-core-functions.php
  • Bugfix the misspelled _threepounds meta key in includes/wpd-ecommerce-core-functions.php
  • Updated filters for concentrates prices to include heavyweights in includes/wpd-ecommerce-core-functions.php
  • Updated notifications for Flowers and Concentrates to use isset instead of != null in includes/wpd-ecommerce-core-functions.php
  • Updated single product images with a link to the full size image in templates/single-item.php
  • Updated order archive redirects to use the Pages selected in WPD Settings in templates/archive-orders.php
  • Updated patient account "Country" from input field to select box in patients/patient-account-shortcode.php
  • Updated checkout "Country" from input field to select box in checkout/checkout-shortcode.php
  • Updated buy now buttons to conditionally display with new required to shop setting in includes/wpd-ecommerce-archive-item-functions.php
  • Updated wpd_ecommerce_box_notifications_array filter to use wpd_menu_types_simple for array in includes/wpd-ecommerce-core-functions.php
  • Updated various links to account, cart and menu to user selection options in includes/wpd-ecommerce-core-functions.php
  • Updated $new_price and $concentrate_prices variables with default values in includes/wpd-ecommerce-core-functions.php
  • Updated notifications checks for Flowers and Concentrates to use isset instead of != null in includes/wpd-ecommerce-core-functions.php
  • Updated is_singular check to use wpd_menu_types_simple helper function in includes/wpd-ecommerce-core-functions.php
  • Updated the add_to_cart form to check if require login to shop setting is on in includes/wpd-ecommerce-core-functions.php
  • Updated checkout page to hide sales tax and excise tax if they return 0.00 in checkout/checkout-shortcode.php
  • Updated archive page content width for shelf and strain types in assets/css/wpd-ecommerce-public.css
  • Updated cart subtotal mobile width in assets/css/wpd-ecommerce-public.css
  • Updated .pot file with new text strings for translation in languages/wpd-ecommerce.pot
  • General code cleanup throughout various files in the plugin

1.2

  • Added support for the Heavyweights add-on's weights in includes/wpd-ecommerce-core-functions.php
  • Added 2 filters wpd_ecommerce_single_item_image_size and wpd_ecommerce_single_item_no_image in templates/single-item.php
  • Added get_wpd_ecommerce_product_buttons helper function in includes/wpd-ecommerce-archive-items-functions.php
  • Updated code to remove empty variable notices in includes/wpd-ecommerce-core-functions.php
  • Updated empty variables for the orders list in patient account shortcode in patients/patient-account-shortcode.php
  • Updated taxes variables to account for commas when adding up the total price in cart/cart-shortcode.php
  • Updated taxes variables to account for commas when adding up the total price in checkout/checkout-shortcode.php
  • Updated widget styles in assets/css/wpd-ecommerce-public.css
  • Updated single-item template to remove comma between Shelf types, Strain types and Categories in templates/single-item.php
  • Updated empty $concentrate_prices variables to get rid of warning in classes/class-item.php
  • Updated widget hook for Buy buttons so buttons don't show on text-only widget lists in includes/wpd-ecommerce-archive-items-functions.php
  • Updated cart widget to remove notice of empty variable when cart is empty in cart/cart-widget.php
  • Updated code to remove empty variable notice for remove_coupon in includes/wpd-ecommerce-core-functions.php
  • Updated text strings for localization in includes/wpd-ecommerce-core-functions.php
  • Updated text strings for localization in patients/patient-account-shortcode.php
  • Updated total earnings in admin account page to check variable and if empty, make total earnings zero in patients/patient-account-shortcode.php
  • Updated default menu page slug for WPD v2.6+ new shortcode & page in wpd-ecommerce.php
  • Updated helper functions to pass the product ID in includes/wpd-ecommerce-core-functions.php
  • Updated prices helper function to pass the product ID in templates/archive-items.php
  • Updated helper functions to pass the product ID in includes/wpd-ecommerce-archive-items-functions.php
  • Updated CSS to hide entry footer on eCommerce product pages in assets/wpd-ecommerce-public.css
  • Updated .pot file with new text strings for translation in languages/wpd-ecommerce.pot
  • General code cleanup throughout various files in the plugin

1.1.1

  • Added empty variables to remove Notices with WP_DEBUG in classes/class-item.php
  • Added empty variables to remove Notices with WP_DEBUG in includes/wpd-ecommerce-core-functions.php
  • Added empty variables to remove Notices with WP_DEBUG in orders/orders-metaboxes.php
  • Bugfix error notices by switching $post_ID to $post->ID and including global $post in includes/wpd-ecommerce-orders-functions.php
  • Bugfix code that disabled view, edit, quick edit links, and Add New button in orders/orders-post-type.php
  • Bugfix codes that set pay on pickup price in wpd-ecommerce.php
  • Bugfix removed custom capabilites for Orders in orders/orders-post-type.php
  • Hide the payment method row from order details table if set to 0.00 in orders/orders-metaboxes.php
  • Updated recent order tables variable in patients/patient-account-shortcode.php
  • Updated Drivers misspelling on Account page in patients/patient-account-shortcode.php
  • Updated with general code cleanup

1.1

  • Added minimum amount checkout setting check in checkout/checkout-shortcode.php
  • Added 4 Patient Verification fields to Account Details tab in patients/patient-account-shortcode.php
  • Added 4 Patient Verification fields to edit user screen in includes/wpd-ecommerce-patients-functions.php
  • Added notifications function to patient account page in patients/patient-account-shortcode.php
  • Updated CSS with styles for Patient Verification fields in assets/css/wpd-ecommerce-admin.css
  • Updated CSS with styles for Patient Verification fields in assets/css/wpd-ecommerce-public.css
  • Updated Account login and registration form title's top margin in assets/css/wpd-ecommerce-public.css
  • Updated Flowers and Concentrates weights with new helper function in cart/cart-shortcode.php
  • Updated Flowers and Concentrates weights with new helper function in cart/cart-widget.php
  • Updated Flowers and Concentrates weights with new helper function in checkout/checkout-shortcode.php
  • Updated Flowers and Concentrates weights with new helper function in includes/wpd-ecommerce-core-functions.php
  • Updated text strings for localization in cart/cart-shortcode.php
  • Updated text strings for localization in cart/cart-widget.php
  • Updated .pot file with new text strings for localization in languages/wpd-ecommerce.pot

1.0

  • Initial release