Forum Replies Created
- AuthorPosts
- The Garden EmporiumParticipant
Sorry close this I don’t need this option.
The Garden EmporiumParticipantGood glad you got it working and glad I could help
The Garden EmporiumParticipantTwo possible reasons for this error
There are two lines of the same type of code
or
you have put the line of code after wp-config.php loads settings.php
make sure there is only one line of the this code
and
make sure you put the line of code above the line that has require_once(ABSPATH . ‘wp-settings.php’);
if you screenshot your wp-config.php with out your database information or any passwords I can have a look at for you.
The Garden EmporiumParticipantHi Alex
Have you got a screen shot of how you have typed this in wp-config.ph p file please
The Garden EmporiumParticipantJust a word of warning that this will also take the bin function from wp-admin as well so when you delete a page,post or any other it will not go to the bin and will be deleted and will not be able to restore any at all, you can change this to a delay of any days you want by adding this code in the wp-config
define(‘EMPTY_TRASH_DAYS’, 0);
and change the 0 to how many days you would like to keep deleted items before they are deleted.
The Garden EmporiumParticipantHi
Mybe I can help with this, I wanted this feature as well and was glad you asked for it, it did take a few attempts to get this working.
What WCFM mean by product goes to trash is that it goes in to the bin on the backend of wp-admin.
The product will then be deleted in 30 days.how I got this working on WCFM front end for vendor to delete product and media at same time.
1. place add_filter( ‘wcfm_is_allow_delete_post_media’, ‘__return_true’ ); in your child theme’s functions.php
2. place define(‘EMPTY_TRASH_DAYS’, 0); in your wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’This will delete the product and any media linked to the product as soon as the vendor presses delete on front end.
The Garden EmporiumParticipantThanks for the reply, I will look forward to this being added
The Garden EmporiumParticipantHi
Any update on this?
Plus I would like to use the layout functions on ACF (Accordion & tabs) works on admin but does not work on WCFM Front End, is this something that can be added aswell please.
Best Regards
Robert
The Garden EmporiumParticipantHi
Thanks for the reply, will look forward to this being added.
The Garden EmporiumParticipantI have tried to send the pictures again
Attachments:
You must be logged in to view attached files.The Garden EmporiumParticipantHi
Thank you, it works just how I want it to.
Top class customer support.
The Garden EmporiumParticipantHi
Yes “Parts Request”
Yes please if that is posibile
Many Thanks
The Garden EmporiumParticipantThis reply has been marked as private.The Garden EmporiumParticipantHi
I have used the plugin that you created and posted on another question.
The Garden EmporiumParticipantHi
Is there any chance the vendor can preview their invoice on the setup of the store invoice, so they can make sure it looks right?
The Garden EmporiumParticipantThanks for the reply
- AuthorPosts