How do I remove woocommerce products after time? - wordpress

Im currently building a webshop using woocommerce (icondesignliving)
and the customer wants the products to be automatically removed after time. Or after a certain date, Is it possible to do this, if yes, how?

You can use a plugin called Post Expirator.
When you add or edit a product there will be a Post Expirator box on the right hand side, which will allow you to choose if the product can be hidden after a certain date. Choose what date it will hidden on and what is to happen to the product (draft, delete, set it to private, or change category):

Related

Sell a posts extra input fields - WordPress

I've been searching, trying to find a plugin that can help me set a price for each of my posts extra input fields.
So, I have a property post type that has the default title, content and featured image fields. Then I have extra fields such as attachment, video. What I need is to initially deny access to each of those extra fields (individually) and only when the user buys the necessary access, will one or all of those fields become available. This must be done when the user is adding a new post and use WooCommerce for the payment.
A visual example:
Plugins I've tried:
- myCRED (only allows the sale of a whole post and not individual fields)
- Fields Monetization (uses packages, not allowing individual field pricing)
- Restrict Content (only allows the sale of complete posts)
If you guys know about any plugins that can achieve this, even if it requires some tweaking, it would be greatly appreciated.

Woocommerce: Customizing the availability of a category

I have many products nested within parent categories in WooCommerce.
I want to be able to apply a custom field where I can specify a time availability for categories as a admin feature only in Back end.
Theory:
Back end - On each parent category I will have this custom field where I can type or choose a time frame: for example 11:00-17:00.
Front end:
During this time frame, users will be able to browse all the products within that category.
Outside of this time frame all the products within that category will stay visible (but inactive) and they will be displayed greyed out or with a 'closed' banner (something like that).
Where can I start with this?
THE BEGINNING
You can start adding 2 plugins to add a custom time picker on product categories admin pages:
Advanced custom fields (ACF) plugin
Date & Time Picker for Advanced Custom Fields or also Date and Time Picker Field
This is just he beginning (and I can't confirm that is the best way). So In ACF you create a group and you name it:
Then you set the location (It's going to be a "taxonomy term" for "Product categories"):
Then In options you can chose it like a Metabox on the side (on backend):
After you add a new field and name it. You chose the field type and time only option:
[
Then now you are going to compile all the other options to fit your needs. Then you can save and add, if you need a 2nd field…
Now if you go to the WooCommerce Products Menu, under categories submenu, you will get this:
Now you can read a little the ACF documentation and also the wooThemes/woocommerce dev. documentation too.
You can customize WooCommerce overriding the templates and use hook filter and actions.
You will find in here on Stack OverFlow and over internet a lot of code, examples and tutorials, to begin and try to achieve your project. When needed you will post questions to get helped, with the code you are using telling what is working and what not…

BIGCOMMERCE - Add required field based on quantity

I am designing a T-shirt store for a client and need to be able to add custom fields to a BigCommerce product based on the user requesting more than one product (tshirt)
So - if the user has 2 products - they would be asked to complete fields for reverse name and size. Is this possible?
There aren't conditional options out of the box in Bigcommerce. You'd have to have unrequired fields that were hidden unless multiple quantities were selected (using javascript to accomplish the hide/show).
Alternatively, you can limit the item so only one can be added to the cart at a time. This could be a negative customer experience though.

How to allow uploading of photos while placing an order using Woocommerce

I'm new to WordPress, and want to use Woocommerce for my online shop. However, I am creating things using photos supplied by the customer for certain products. Other products can be sold as is.
That means if the customer orders an item in this category, he needs to upload the photo to be used to create that item while placing his order. This photo must be linked to the order, and must not be visible to the other customers, but only to me when I view his order.
Is there any existing WordPress theme that caters for this, and if not, how do I modify Woocommerce to cater for this?
More than one customer can order the same product, and each customer must be able to upload his photo to be used for that product for that order. Each client's photo must only be linked to that specific order for that specific customer for that specific date.
You can use Woothemes's Product Add-ons plugin. It allows you to add custom fields to your product including file-inputs. These fields will be displayed on the front-end & user can fill their values/upload files which will be included with their orders. And as an admin, only you will be able to see the values/files in the order-details section.
You required to add image with each product, which should not be display to your customer, only to you while some order placed by customer:
In this case you required to add custom field over there in Product Custom Post type.
You can refer to this link for creating Custom Field
http://wp-types.com/learn/create-an-ecommerce-wordpress-site/create-custom-fields-and-taxonomies/

WooCommerce: Override product info before adding to cart

I've found the following example (WooCommerce: Add product to cart with price override?) which lets the user add a product to the cart. However, it hard codes the prices directly on the cart itself.
Is there a way to make adjustments to a product instance i.e. costs, append additional user input, etc. and then add the product to the cart?
Thank you very much for everyones help.
Edit:
Having another crack at explaining, as doublesharp has pointed out it's not quite clear.
Joe clicks on a product, he then chooses various options on the product form which then calculates a custom cost after the 'add to cart' button is clicked but before it is added to the cart.
These options need to be completely custom as the calculations involved are outside of scope of a woocommerce 'variable product'. What I'm trying to achieve is the customer being able to add multiple instances of the same product with various costs and info associated with it.
With regards to the first part of your question where you want to add multiple instances of a product with various costs, you can have a look at the following plugins to achieve that objective
Dynamic Pricing
Pricing Deals for WooCommerce
As for the second part of your question where you want to append additional user input to the cart. This can be done using the following steps
Create a custom session and add the custom data to this session.
Add the data from the custom session to the WooCommerce session.
Extract custom data from WooCommerce session and insert it into cart
object.
Display custom data in Cart and Checkout page.
Add custom data as metadata to the order items.
Remove the associated custom data if an item is removed from the
cart.
For a more detailed on the above steps you have a look at the following link,
How to Add Custom Data to WooCommerce Order

Resources