Skip to main content

Are we or will we be able to build a marketplace using Fluentcart?

There was a recent update sharing that Fluent Cart checkout is completely customizable now, can someone share where and how we can customize? Also modal checkout, how do I insert, modify and use that?

Working on a site idea to sell products from different creators. But I don't want it be like a marketplace, where each creator has their own store. I just want it to appear like they have their own store (which I assume I can do by creating a Brand for them & showing just their products on their page).

What I'm having trouble with is what approach to take to give them something like a Home page. Use a custom content type, or a content template?

Someone has bought my online course yesterday and today, early, wrote me a message, "I have paid but I didn't receive any mail." Then I checked everything and see that in FluentCart there is an order but the status is pending. At the same moment I checked Stripe and the payment is successful.

Do you know why FluentCart didn't change the status from pending to completed? Because in Stripe it was completed. Do you know where's the problem? Can you help me? Best greetings from Berlin! Szymon

I'm selling a plugin using FluentCart's licensing feature and I'm wondering if its possible to exclude .dev domain from counting towards the license usage?

Hi FluentCart Team,

I'm currently testing FluentCart before purchasing it and integrating it with Etch.

When a subscription is cancelled, attributes like expire_at return null, which makes it difficult to determine whether the user should still have access during the remaining billing period.

I temporarily used created_at, but this is not reliable for multi-year subscriptions or different billing cycles.

What is the correct way to programmatically detect if a cancelled subscription is still within its valid access period?

Thanks in advance.

add_filter('etch/dynamic_data/user', function($data, $user_id) {

    $customer = \FluentCart\App\Models\Customer::where('user_id', $user_id)->first();

    if (!$customer) {
        $data['subscriptions'] = [
            'has_subscription' => false,
            'has_valid_access' => false
        ];
        return $data;
    }

    $subscriptions = \FluentCart\App\Models\Subscription::where('customer_id', $customer->id)->get();

    if (!$subscriptions->count()) {
        $data['subscriptions'] = [
            'has_subscription' => false,
            'has_valid_access' => false
        ];
        return $data;
    }

    $active_subscription = \FluentCart\App\Models\Subscription::where('customer_id', $customer->id)
        ->where('status', 'active')
        ->first();

    $formatted_subscriptions = [];
    $has_valid_access = false;

    foreach ($subscriptions as $subscription) {

        $expires = null;
        $status  = strtolower($subscription->status);

        /* ACTIVE */
        if ($status === 'active') {
            $expires = true;
            $has_valid_access = true;
        }

        /* CANCELLED */
        elseif ($status === 'cancelled' || $status === 'canceled') {

            if (!empty($subscription->created_at)) {

                try {

                    if ($subscription->created_at instanceof \DateTimeInterface) {
                        $created = clone $subscription->created_at;
                    } else {
                        $created = new \DateTime($subscription->created_at);
                    }

                    $expiry = clone $created;
                    $expiry->modify('+1 year');

                    $now = new \DateTime();

                    $is_valid = $now < $expiry;

                    $expires = [
                        'valid' => $is_valid,
                        'date'  => $expiry->format('Y-m-d H:i:s')
                    ];

                    /* Valid access */
                    if ($is_valid) {
                        $has_valid_access = true;
                    }

                } catch (\Exception $e) {
                    $expires = null;
                }
            }
        }

        /* Other status */
        else {
            $expires = null;
        }

        $formatted_subscriptions[] = [
            'id'      => $subscription->id,
            'status'  => $subscription->status,
            'plan'    => $subscription->plan_id,
            'expires' => $expires
        ];
    }

    $data['subscriptions'] = [
        'has_subscription' => true,
        'items'            => $formatted_subscriptions,
        'is_active'        => !!$active_subscription,
        'has_valid_access' => $has_valid_access
    ];

    return $data;

}, 10, 2);

Anyone have a full online store running, and actively making money with FluentCart? I would love if you could share! Need some inspiration.

do yourself a favour and give smithyfactory a follow on Facebook, Mikes currently building out a full toolkit for Fluent Cart for Breakdance page builder….

https://www.facebook.com/share/v/18L2WpXP2X/?

Hello there,

I would love to know if i can have a costum product page.

With the full width fluent community layout.

I see the video dont show every screen. But hope you understand.

https://www.loom.com/share/9c2f6f039fa646afb1b4790aa5479d31

Hi.. I have a WP site using the free version of Elementor. Does FC support Elementor? I can see the FC widgets with the WP basic editor but not using Elementor. I simply want to duplicate the following popup cart function from a simple button created by: Natascha VantuykomΒ  with her example here: https://lgdlitedemo.myob.be/landingspagina/

Secondly, does FC support video in the product gallery? I added a video but it didn't work. Are other plugins needed to use a video in the FC product gallery. Any links to instructions would be amazing .. thanks in advance and a big sunshine smile from South Beach to all of youΒ