Forum Replies Created
- AuthorPosts
The Garden Emporium
ParticipantSorry close this I don’t need this option.
The Garden Emporium
ParticipantGood glad you got it working and glad I could help
The Garden Emporium
ParticipantTwo 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 Emporium
ParticipantHi Alex
Have you got a screen shot of how you have typed this in wp-config.ph p file please
The Garden Emporium
ParticipantJust 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 Emporium
ParticipantHi
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 Emporium
ParticipantThanks for the reply, I will look forward to this being added
The Garden Emporium
ParticipantHi
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 Emporium
ParticipantHi
Thanks for the reply, will look forward to this being added.
The Garden Emporium
ParticipantI have tried to send the pictures again
Attachments:
You must be logged in to view attached files.The Garden Emporium
ParticipantHi
Thank you, it works just how I want it to.
Top class customer support.
The Garden Emporium
ParticipantHi
Yes “Parts Request”
Yes please if that is posibile
Many Thanks
The Garden Emporium
ParticipantThis reply has been marked as private.The Garden Emporium
ParticipantHi
I have used the plugin that you created and posted on another question.
The Garden Emporium
ParticipantHi
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 Emporium
ParticipantThanks for the reply
- AuthorPosts