Wordpress Woocommerce try on service for product - php

I am developing a eCommerce site and my client want to product on rent functionality.
for e.g : On Add To Cart page a product has delivery + return date on add to cart page
Suppose I have select date from 24 to 28 and I would product on try on specific date so when I add to cart product then trial product also added with charge.
E.g Screenshot attached:

You can use Woocommerce Product Add-ons
The Product Add-Ons extension allows you to add additional paid (or free) options to your products using several field types including radio buttons, checkboxes, drop-down fields, custom text inputs and more.

Related

Woocommerce I want product to be available in specific months only

I want the product to be available in specific months only. I created advance custom field checkbox field to check the months in which product will be available, using "Display a custom message when a product is not purchassable in Woocommerce single pages" answer code to one of my previous questions and it does show and hide and add to cart button depending on the month set…
But the problem is that when it's available (showing the add to cart button) and we click on it, it says you cannot purchase this product. How to avoid that?

WooCommerce plugin for easy checkout for schools

Does anyone know of a plugin that will allow you to list all of your products on a single page and then the user simply needs to select the product in a checkbox to add it to the cart before proceeding to checkout?
I would like to use it for school stationary where the user can add multiple products as most grades are given a list to buy.
Thanks
You can use this plugin for adding multiple Products to Cart at once in Woocommerce for your purpose.
Hope this plugin is useful for you.

How can I add a Drupal Commerce Fee programmatically?

I know how to add a line item programmatically, but I can't seem to find a way to specifically add a custom commerce fee in PHP. Commerce fees seem to register in two locations in the order array: Once under commerce_line_items, and once under commerce_order_total (See attached image). They are different than a regular line item in that they don't show up as products, but rather in the order totals box at the end of the order. The fee shown in the attachment is one that has been entered using the Edit form in the admin section. I need to add one in code. Any ideas?

Variable product prices not showing in woocommerce front-end

I'm creating a woocommerce shop in which I sell products with color/size variations. Next to that I also use Woocommerce product add-ons to enable users to input a name that will be embroided on their product. I neatly input al the product variations like so:
After publishing the product it doesn't show any price though. How is this possible? A screenshot of how the product is shown on the front-end:
the plugins and add-ons I use for WooCommerce:
WooCommerce Product Add-ons
WooCommerce Print Invoice & Delivery Note
WooCommerce Variation Swatches and Photos
The default functionality of WooCommmerce pluging for WordPress is that it doesn't show the price for variable products.
As there are many variations and each variation have different pricing a drop down list is provide to select a variations. So only after selecting a particular variation prices for the same will be display.
Try adding sale prices for all variations. And check whether the pricing range of the variable product is shown or not on front-end or not.
A link to this page would be more helpful to debug your problem.

Optional product in a Checkout Cart (/checkout/cart/)

I have created a warranty as a product in magento which has 2 custom checkbox options. This product (warranty) does not have any specific page so I would like to display both the custom options of a warranty products as checkbox when selected one of the custom option the product (warranty) also should get added to the cart. I want to display this addon product (warranty) only when the cart amount is larger then $2000. Is there any way to achieve this function without having to create a module. I have attached a screenshot below to illustrate the custom option.
without having to create a module.
No, there is not way to achieve this functionality without programming a custom module.

Categories