Code

Discussion on WooCommerce Pre-sale, Time offer & Expiring System

Discussion on WooCommerce Pre-sale, Time offer & Expiring System

Cart 408 sales

vanquish supports this item

Supported

213 comments found.

Hello, I noticed today that the “free shipping” option is ignored in our setup. I currently have two products in pre-sale period, both with the “free shipping” option checked, but the normal shipping cost is added on cart.

Please advice.

Setup: https://snipboard.io/KjiI6Z.jpg Cart: https://snipboard.io/6GpjaV.jpg

Glad to hear that!

Meanwhile, If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

Have a great day!

I’ll do it. Meanwhile: any idea for this behavior? https://snipboard.io/IcBdFu.jpg

They’re buying the same product, currently in pre-sale since yesterday

Unfortunately no idea. Make eventually sure that when the item was purchased, the pre-sale was actually active.

remyrmo

remyrmo Purchased

Hello,

I have active the option for disable the product when the pro eorder is closed “Only who bought during the pre-sale/offer period can buy the item. This feature requires the user to be logged.”.

But the product is still available after the pre order is expired. Should I enable another setting?

Regards,

7c135bc0-07a4-4ce7-9071-c89a0d7b992c – 23 Jun 2022 REGULAR LICENSE

Yes, because actually, the “demo” user bought that product during the existing presale period: https://nimb.ws/mOpFn0

If you change the period, that user won’t be able to purchase it: https://nimb.ws/gDLfEQ

Please make also sure you are running the latest 11.2 version. I noticed an issue related to the who-bought table that I’ve fixed in this vesrion.

remyrmo

remyrmo Purchased

Thanks, its working after the update on my preprod !

Glad to hear that!

At last but not least, I would ask you to help me: If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

Have a great day!

can i choose which payment method if a customer wants to pre order let’s say an item and choose any pre-order product it would only show paypal to him ?

I’m sorry, the plugin hasn’t such a feature

Hi, I set a discount 15% and on the product page the price is correct, but if I add the item in the cart the price changes and is not correct. How can I fix this issue ?https://www.treninionline.it/negozio/categoria-sconto15/

Hi,
from my tests all seems working as expected: https://nimb.ws/HED4uy

Please make sure that you have not installed any plugin that might be interfering (such caching plugin or other plugin that alter product prices). Make also sure to be using the latest 11.1 version.

Please note that to request support you need to renew your support license.

Hi, the offert time that I set is finished, progress bar is now not visible but the prices are still discounted with line-through. How can I fix it ?

Hi,
from my tests, all seems working. You can give a look at the demo site: https://codecanyondemo.work/wcps/product/product-2/ (user: demo, pass: demo) to check by yourself.

Make sure you are running the latest 11.1 version. If the issue persists, in order to be sure the plugin actually causes it, use the demo site to recreate your scenario and see if the issue arises. If so, please report me a step-by-step guide on how to. Thank you.

Hi, if I’m using Stripe or Paypal as Payment Gateway is there a way to use the on-hold payment system? So when I will reach the Purchase threshold I can authorize the payment to be complete automatically like this plugin does: https://woocommerce.com/document/pre-orders/#section-6 Thanks

Hi,
I’m sorry the plugin hasn’t such a feature.

Hi, I plan to use the plugin as a mean to make products available for pre-ordering, so I will usually need the expiration date only.

While testing, I encounter this problem: whenever I update the product page (I may have changed some details or nothing at all, it doesn’t matter), the expiration date get reset to a different value than the one I set, depending on the date format I set in the general options.

Ex. Desired date is 29/04/2022. I update something, i got - 29/12/1921 if date format is dd/mm/yyyy - 12/04/2022 if date format is yyyy/mm/dd

To solve the issue I have to manually set the exp. date to the desired value, and update again. Sometimes, but not always, it works.

Please advice: in the current state the plugin may be worthless to me.

Hint: I currently work on an italian system. Maybe a problem with date formats?

Thank you for reporting. Sounds very strange. Even if the “wcps.customers” variable is an empty array, the jQuery.each should work anyway. I’ve performed a test by replacing wcps.customers with a empty array []: https://www.dropbox.com/s/j2fzwtx7t9leow7/wcps_js.jpg?dl=0 , and no error was raised: https://www.dropbox.com/s/qiddiklav1jhq08/wcps_console.jpg?dl=0

could you try editing that file and via a console log print the content of the wcps.customers when the error is raised? It could be that for some reason the content of that variable is a string “[]” instead of an array.

If you send me via private message (click on my name and then use the low-right box) the following data:
  1. your email address
  2. full admin access to the wp-admin area
  3. FTP access
  4. a detailed step by step guide on how to experience the issue
I can try eventually performing some further tests.

Solved (sort of).

picker.date.js – Line 1306: I changed the default format value (DatePicker.defaults) from ‘d mmmm, yyyy’ to ‘dd/mm/yyyy’ or ‘yyyy/mm/dd’ (whichever value I set on the plugin options page – seems it must be the same), and the bug disappeared.

This default value is used when setting the calendar ‘select’ value (same file, line 84), later used to create the DatePicker hidden input, and the difference in formats somehow messes things up.

I now leave the “how” and “why” to you: this solution is fine with me

Thank you for reporting the result of your investigation, I’ll perform some further analysis.

I found a bug on your plugin which i could even recreate on a sandbox site (but it seems i can’t share it here).

if you do NOT add an expiration date, things will seem to work initially but after a while and after a few users buy your product, it will stop working.

It was CRAZY hard to debug because at first it seemed to work normally, but you can try it.

remove the expiration date and the expiration time and then save a product. chances are you’ll get the problem right away but if not, try adding a buyer to the product and wait a few hours or a few days (yeah, it sucks to wait that much, i know).

At the same time i have a second problem. my presale product has over 2k buyers and it seems that after a certain amount of users the table “who bought during presale / time offer period” stops showing people. is there any other way to check who bought the product? maybe on the database or somewhere else?

Thank you for reporting, however, what do you mean that “it stops working”? could you provide a more detailed description of the issue? and what do you mean by “try to add buyer to the product”?

I’ve performed some tests in the last hours but nothing strange happened. Could you try recreating your scenario in the https://codecanyondemo.work/wcps/ (user: demo, pass: demo) and report to me if you are still experiencing the issue? If so please report to me a step-by-step guide.

Please try also to enable the WordPress debug mode and debug log ( https://wp-staging.com/docs/enable-wordpress-debug-log-mode/ ). To do that just insert the following lines in the wp-config.php you find in the root you of your site:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
reperform the test and see if in the debug.log located in the wp-content folder are reported more clues.

Regarding the who bought table, please give a check the browser error console to see if the issue is just related to the javascript table used to render the table. If no error raised, try giving a look to the debug.log to see if any error is reported.

The table is rendered by retrieving data via the database. The query can be seen by editing the WCPS_Customer.php you find in the classes\com folder, at line 27, function get_all_user_who_bought()

The table is rendered by the WCPS_Html.php (classes\com) at line 45, function woocommerce_render_who_bought_metabox()

I think the demo site is down ?

Hi,
from my tests it seems working as expected: https://www.dropbox.com/s/rv10x6iwvm3bma8/wcps_demo.jpg?dl=0

Can you let us know if this Pre-sale plugin will work with downloadable products ? We release pdf documents 3-4 times and year and allow pre-ordering of downloads that will be available in future. Is that possible? So if a customer pre-orders a download, when the download is released into stock they automatically receive an email letting them know that the download is available, is that possible?

Hi,
yes the plugin works with downloadable products, but unfortunately it hasn’t any notification system.

The plugin, however, has a demo site where you can fully tests its features before any purchase.

Hi, how is your plugin behave with a 300k products eshop? Is it compatible with porto theme and polylang or/and wpml?

Hi,
the plugin hasn’t been tested in such a dataset. The plugin hasn’t any specific support for Porto theme, polylang or wpml.

Hi, PreSale Question. I want email notification for expiry date, before “N” days for each products. eg: for milk products I set expiry date 1 week after. but i want email notification 2 days before. for Oil I set 1Month, I want email before 3 days, like a reminder.

Hi,
I’m really sorry, the plugin hasn’t such a feature

Hi, I need to set time offert not to 1 products but entire category, as the same 40% of discount, all products category with the same end offert time date. How can I do it? Thanks

and insert many products together, not single manually?

I’m sorry, it is not possible.

Hi, the offert time that I set is finished, progress bar is now not visible but the prices are still discounted with line-through. How can I fix it ?

Hi, if i set the expiry time, the date automatically jumps to 1920. Then I have to set it again and works.

Hi,
From my tests, all seems working as expected. I, however, could be missing something. Please use the following clean installation of the plugin to recreate your scenario: https://www.codecanyondemo.eu/wcps (user: demo, pass: demo)

and report to me if you are experiencing the issue. If so, please report me a step-by-step guide on how to.

If not, it means that something is interfering with your installation. Please make sure that you are running the latest 10.8 and try disabling all the other plugins one by one until you find the interfering one.

Hi there,

I’ve noticed the following issue with your plugin:

On a Variable product, if I set the presale price to INR 1990 (including 18% tax), in the shop page it shows as INR 2,348.20 where as it should show as INR 1990.

In my woocommerce tax settings, I have enabled “Yes, I will enter prices inclusive of tax” but even then your plugin ignores this and add 18% tax and display an incorrect price on the shop page.

However, when you add the product to your cart, it displays prices and taxes correctly.

Please see the link for an example https://staging.modernhangover.com/montana-brogues-black/

Could you please tell us why your plugin does this and if you can fix this bug in your plugin

Hi,

I updated the plugin to the latest version. However the issue is still not fixed. Also, it’s important to note that this issue only occurs for Variable Products i.e products that have size/color variations.

I request you to please fix the issue for variable products.

https://staging.modernhangover.com/montana-brogues-black/

Ok, its fixed! I had to activate the option for “Disable Tax” in your plugin settings. After disabling it in your plugin settings, the woocommerce tax is displaying correctly in simple products as well as in variable products.

Glad to hear that!

At last but not least, I would ask you to help me: If you enjoyed my efforts to assist you and/or my plugin please consider leaving the 5 stars…It would help me with sales, I would really appreciate it! :)
(to leave a rating: go to your profile page, click on “Downloads” and from there you can rate your purchases. You can also leave the rating through the plugin description page: https://www.dropbox.com/s/v6zaoe0p6cs4x2o/rating.png?dl=0 )

Have a great day!

The timer show [undefined] on minute when browsing category page , but it’s normal in product page

<span class="wcps-clock68">
<span class="wcps_timer_date_value wcsa_days_value">14</span>
<span class="wcps_timer_date_label wcsa_days_label">days</span>
<span class="wcps_timer_date_value wcsa_hour_value">13</span>
<span class="wcps_timer_date_label wcsa_hour_label">undefined</span>
<span class="wcps_timer_date_value wcsa_minute_value" span="">
<span class="wcps_timer_date_label wcsa_minute_label">min</span>
<span class="wcps_timer_date_value wcsa_second_value">07</span>
<span class="wcps_timer_date_label wcsa_second_label">sec</span>
</span></span>

14 days 13 undefined min 07 sec

I found the problem, in wcps-frontend-shop-loop.js , missing ’>’ before %M

and the wcps_shop_loop[id].hour_text is not work, I changed it to hr

Hi,
thank you for reporting the issues and apologize for the inconvenience! I’ve just released the 10.6 that addresses them!

Have a great day!

Hi,

I just installed the plug in and set the pre-sale for my products. However I want to change some of the setting of this presale but I don’t know how. i don’t see a tab for current active pre-sale products that I can edit the settings. I only see the main ‘Bulk edit pre-sales / time offers’ in blank like I didn’t do anything.

Need help asap

Hi,
to know which are the product with a presale campaign active, just open the product list page: https://nimb.ws/Old9gK

to change the setting for a single product, just go to the product edit page: https://nimb.ws/78PqJs

The “bulk edit pre-sales / time offers” is used to bulk assign a presale rule to existing products. It won’t load existing data, it will just bulk assign the selected options to the selected products.

Hi,

Is this compatible with the Flatsome theme?

Thank you!

The plugin has a demo site where you can fully test its features before purchasing in order to be sure it actually works as expected. Once purchased, no refund will be granted for such reasons.

Thanks! But what if the plugin is not compatible with my theme?

The plugin is compatible with any theme is fully WooCommerce compliant. If it is however implementing any custom feature that prevents the plugin to work, this doesn’t depend on the plugin so no refund will be granted.

Hi there,

We are using your presale plugin on our website www.modernhangover.com. However, we have found that your plugin is not compatible with the Variation Swatches plugin and the Gst plugin. We wanted to know if you will be able to fix this compatibility issue for us. We are willing to pay you for your customizations.

We love using your plugin but we need it to work with the Variation Swatches plugin. Your help in this matter would be highly appreciated.

Hi, I’m sorry but for now there isn’t any plan to support those plugins. If you however report me a more detailed description of the issue you are experiencing I can try to extend it in a future release. Thank you!

Hi, i feel really sorry about this, but due to the slowing down of the site, i had to take another plugin for pre-orders. Now, is there a way to completly remove the plugin, and all the data it created?

P.S.: As soon as this problem is solved, i will useit again, because i still think it has a lot of potential.

Hi, to completely delete the plugin data, you can manually delete the “wcps_options” key stored in the wp_options table and the “wcps_data” stored in the product meta key table.

Nota that those are a few byte and basically have zero impact on the site performance.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey