New tasks and Issues to be fixed
Closed this issue · 3 comments
Asok17 commented
- Create action hooks for rendering each template content
- Custom filter actions should have name prefixed with "addonify_floating_cart"
- Variables should be properly escaped before printing
- Avoid PHP shorthand notations to prevent PHP version issues. Minimum PHP version that should be supported is 5.6
- Every static text should be translation ready.
Asok17 commented
Here are some updates to be made and are required:
- Message for empty cart should come from the WooCommerce plugin, use the WooCommerce's action woocommerce_cart_is_empty instead of custom text for empty cart.
- The attributes of quantity input field in the cart should be same as in the WooCommerce. For quantity field's default attributes, see woocommerce_quantity_input() function, in file wc-template-functions.php.
Asok17 commented
- For no items in the cart, in the cart modal, the badge should display 0 Item instead 0 Items.
- Floating cart should not be visible in the cart and checkout page.
- Apply coupon should not be visible if there are no items in the cart.
Asok17 commented
Closing the issue since all the tasks have been completed.