• I am working on a site which is WooCommerce based. The owner is getting into a business model where he wants to share some part of product price with the seller, and let the seller set the amount he wants to get per sale from the product page itself. And the amount which is set by the seller, is added to the final product price.

    Is this possible by modifying WooCommerce files? Remember this is without giving the user any WP-admin access and from the product page itself.

    There is a plugin which lets price modification to happen from front-end.

    https://www.woothemes.com/products/name-your-price/

    But, the price entered by the user in the plugin is final, and is not added to the already set price.

    Any ideas how to go about it?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t know much about woocommerce except that there are a lot of filters provided that allow customization. I can speak in conceptual terms that might help you decide on an approach.

    It sounds like you need to add another tier, sort of like how WP Multisite has network admin, individual blog owners, then finally regular visitors.

    The seller would be like the blog owners where they have control over their little part of the site, but nothing else. When a product is displayed to a customer, the base and added price are added together on the fly.

    The added price would need to be stored in post/product meta keyed to each seller. The front end form the seller sees would store that value.

    What added price is used would depend on which seller’s links brought the customer to the page. The seller’s ID could be tracked by referrer, URL parameter, or cookie on the customer’s browser.

    Sorry I can’t be more specific, I hope this helps in some way.

Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce Modification’ is closed to new replies.