Forum Replies Created
- AuthorPosts
- MattiParticipant
Hi Cap,
For my site it would be a fantastic feature and Vendors would love the feature.Elementor has role manager and to be honest current rich editor (TinyMCE) supported by WCFM is outdated. Even WordPress has moved to block editor for a long time ago. WCFM competitors have been adding Elementor support for a while. You just can’t keep up with competition with outdated editors.
MattiParticipantI also appreciate if anyone knows how to replace tinyMCE rich editor with Gutenberg for articles pages (while waiting for Elementor support)
MattiParticipantHi,
It would be awesome if Elementor support would be added to articles pages. Currently those pages can be edited with rich editor. This would enable Store Vendors to create beautiful landing pages with Elementor and it’s templates library.
Does anyone know how to add this with code snippet?
February 7, 2020 at 4:35 pm in reply to: How to check membership and change membership with code #106107MattiParticipantI tried different settings
First scenario
– Selected “Choose Plan” as Subscription first step.
– Worst case scenario could happen
– Vendor has existing membership
– Vendor cancels membership from his dashboard
– Vendor gets auto-assigned to Basic Membership (Free with limited capabilities)
– Now vendor goes to Membership table and selects e.g. 1000 € / year membership
– Vendor gets assigned to new selected Membership without need to pay anything at this moment – next payment is one year from now.Second scenario
– Selected “Registration” as Subscription first step.
– First case works like a charm
– Vendor has existing membership
– Vendor cancels membership from his dashboard
– Vendor gets auto-assigned to Basic Membership (Free with limited capabilities)
– Now vendor goes to Membership table and selects e.g. 1000 € / year membership
– Vendor is redirected to Checkout and needs to pay for his new plan
– In this scenario the problem occurs when
– Vendor buys his first membership
– Vendor goes to Checkout and buys as supposed to
– Now instead of registering to site (as happens as a first step in first scenario) he gets welcome message saying
that your membership is under reviewSo membership changing is not working for me…
Options so far that I can think of are:
– your proposal
“There might be a setting where a “store vendor” account can’t see the membership page which would prevent them from buying a second one before
they cancel their current one? When they cancel their account status changes and then they could see the membership page again?”– In first scenario manually or with custom code change Next payment day for new membership
I think for these solutions I’d need check with code snippet does a Vendor (currently logged in) have already purchased membership and if yes then which one he/she currently does have.
February 6, 2020 at 10:17 pm in reply to: How to check membership and change membership with code #105910MattiParticipantHi Craig,
Maybe I’ve configured something wrong but if vendor changes membership through their dashboard then they actually don’t change membership – they need to cancel their current subscription and then go to my custom membership table and buy new membership. Well this is actually good thing. However if the very same vendor goes directly (without cancelling subscription first) to my custom membership plan table and buys new membership then he gets it right a way without making any purchase…
Example
Vendor has membership with 50 € / month subscription and he goes to custom membership table and selects membership with 1000 € / month
-> he gets membership right away and pays 1000 € after one month as opposed to if he needs to cancel first his current membership. In latter case he pays 1000 € right away.I was thinking to check membership status to prevent this but maybe I’m overthinking and there is simpler solution 🙂
MattiParticipantHi,
maybe I was not accurate in the problem description.step 1) user role is ‘Store Vendor’ then everything is ok
step 2) user gets additional role (many 3rd party plugins do this). Let’s call role ‘Custom role’. It is not default WordPress nor Woocommerce role, it is role defined by 3rd party plugin. In my case I assign this role to user when he makes new subscription.
-> Now user has roles ‘Store Vendor’ and ‘Custom role’. Very common situation that user has many roles.Problem:
User can access all the menus, also Knowledge base but nothing is visible there – knowledge base is empty. User can’t see any of the guidelines.If I log in as administrator I can see Knowledge base with all guidelines but when I log in as user with roles ‘Store Vendor’ and ‘Custom role’ then Knowledge base is empty. So my mistake in original description. Knowledge base can be accessed but it is empty.
Same is true to Announcements. It is empty for user with ‘Custom role’.
step 3)
– user has roles ‘Store Vendor’ and ‘Custom role’
– I log in as administrator
– I go to Store vendors -> Select Vendor who has user roles ‘Store Vendor’ & ‘Custom role’ -> Manage Store vendor -> Subscription -> Change subscription plan to very same plan he currently has -> UpdateProblem:
User now has only role ‘Store Vendor’ i.e. ‘Custom role’ was deleted.In this case user can now see all guidelines in the Knowledge base and all Announcements.
It would be my wish that Custom roles are allowed to be added to the users without losing any visibility and whenever user roles are changed then previous roles would be preserved instead of deleting them.
- AuthorPosts