Skip to content

A wordpress theme based on the dokan theme for woocommerce multi-vendor store.

Notifications You must be signed in to change notification settings

MikeiLL/farmdrop-dokan

Repository files navigation

farmdrop-dokan

A wordpress theme based on the dokan theme for woocommerce multi-vendor store.

Important Configurations

Advanced Custom Fields

A Single Field group, General Settings, which is called by the acf_add_options_page function. See ACF docs. We have four fields which are used for email templates and the, checkbox and pop-up for when store is closed.

    • TODO: putting store open on an automatic schedule

WooCommerce Settings

Dokan

  • Store URL: producer
  • Extra Fee Recipient: Admin setting never seemed to work
  • Commission Type: Percentage, although the percentage is set to 0.
  • Admin Commission: 0
  • Withdraw Methods: Dokan/Stripe
  • Order Status for Withdraw: Completed
  • TODO: Consider adding Social Login

Stripe Gotchas

  • When working with Stripe in Test Mode
    • They are not expecting you to go back to testing once have gone live
  • When deleting orders and vendor accounts you may have to delete Transients as well to avoid Stripe errors. Stripe order numbers and WooCommerce order numbers should basically match.
  • WP DB Cleaner and Transient Cleaner are useful plugins for this

Dokan Templates Directory

  • Within this theme directory, we have over-written some of the core Dokan Templates

TODO: Implement feature to automatically delete any PDFs older than say, six months, probably in the weekly.php file.

The Hidden Virtual Product

  • Create a (Simple) Virtual Product in WooCommerce
    • Price needs to be set, but amount not relevant, as 10% is hard-coded in functions.php
    • This product has to belong to the Vendor who receives fees–see Select box below main product MetaBox
    • In the Publishing Status MetaBox, Catalog Visibility: Hidden
    • TODO: programaticaly create this product
  • There is Code in Functions.php which adds to shopping cart
  • TODO: Allow Admin to select which product

About

A wordpress theme based on the dokan theme for woocommerce multi-vendor store.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages