This topic has 12 replies, 2 voices, and was last updated 6 years, 4 months ago ago by Rose Tyler
Hi,
I bought this beautiful theme for the store. Also ask for additional options to add to the products And On. In the support chat suggested PPOM, and I bought and installed it. I have added different options that I like and work ok including the calendar (with datepicker), but the products of my store need a minimum 3 days to be processed. I have to deactivate the first 3 days of the calendar. I need to be able to add this urgently because without it the store can not work and we are losing sales.
Law that Datepicker JQuery offers the codes (minDate: +3) … for this I need but I am not a developer and I need your help urgently.
Thank you.
Hello,
Your question relates to functionality of the plugin. I would recommend you to contact authors of the plugin.
Regards
Hi Rose,
Thanks for your answer.
I understand then that there will be no problem in integrating this function into my XTORE theme if the plugin developer provides the code.
Yesterday I contacted them and I am waiting for an answer.
Hello,
Ok. Let us know the answer.
Regards
Hi,
This is the info that sent me for add the functionality. Thanks!
Ok here is code you need to put inside your plugin following path:
js/ppom.inputs.js
near line number: 51 you will see following code: (line number can be change due to future changes)
if( input.past_dates === 'on' ) {
var date_today = new Date();
InputSelector.datepicker('option', 'minDate', date_today);
}
Replace above code with
if( input.past_dates === 'on' ) {
var date_today = new Date();
date_today.setDate(date_today.getDate() + 3);
InputSelector.datepicker('option', 'minDate', date_today);
}
Hello,
Have you tried to do these changes via FTP?
Because changes relate to the plugin, you need to check if this works with our theme and with Storefront too. In case, all works fine with the default WC theme but don’t work correctly with our theme, provide us with temporary FTP access.
Regards
Hi Rose,
Yes, I have tried but as I said before I am not an experienced web developer and therefore I ask for your help so I do not make mistakes. This functionality is very important for the store. I attached required information.
Thank you so much!
Dear @Luz Maxwell,
We are theme support, so we can’t help you with editing files of the 3rd part plugin, sorry.
As I said before, we can try to help you only in case if something works fine with Storefront and doesn’t work with XStore.
If you do not want to edit files of the plugin by yourself, I would recommend you to contact the plugin support.
Regards
Hi,
Was the plugin support that provided the code but I need you guide me with the steps to go inside the Theme and website for insert the right way.
I appreciate your help.
Hello,
As I can see, the code should be changed inside the plugin http://prntscr.com/k1meij
maybe it will work great without additional changes in theme.
To check if some changes are required from our side, you need to check if the code that was provided by the plugin works in the way you expected.
Regards
Thanks for your reply.
Attached mor info.
Regards
Please see screenshot – https://prnt.sc/k1n254
Regards
You must be logged in to reply to this topic.Log in/Sign up