Custom FluentCart shortcodes?
Hey everyone,
Has anyone figured out how to register some custom shortcodes for FluentCart to render all the various product data, add to cart button, and things like that?
Ryan VickermanΒ Thank you, but I don't use Bricks.
I am thinking about creating those. What exactly are you looking for?
AndrΓ© DausΒ I would love to see some dynamic tags. Currently, the dynamic tags in Bricks Builder do not work. I already posted about this a few days ago, but there has been no response yet.
Abhishek PrajapatiΒ we can create a shortcode that takes dynamic data and shows that on the frontend. Is that what you mean?
AndrΓ© DausΒ Not a shortcodeβI mean dynamic tags like {fct_product_price}.
Currently, there are only four dynamic tags available from the FluentCart side, and they do not work properly.
Additionally, important product-related dynamic tags are missing, such as Product SKU, Product Excerpt, Product Regular Price, Product Sale Price, and Product Stock.
AndrΓ© DausΒ That's amazing!
I'm specifically looking for shortcodes to display product data, from price, variations, stock and things like that, to the add to cart button and quantity picker. Basically anything product related that could be displayed on the front-end.
Those would make it much much easier to build custom product views and stores with any theme or builder, especially the ones that aren't officially supported (yet) by FluentCart.
Abhishek PrajapatiΒ So your request is specific to Bricks dynamic tags?
Abhishek PrajapatiΒ I am focusing on the Etch builder, but will create some shortcodes, too. I need to check Bricks tags. I did not use them in the past because it was simpler to write some lines of PHP code.
Out of interest, what tags do you need?
F. C.Β I need to build this because I cannot use FluentCart otherwise. I am gonna start with the checkout and related data. Will share that once itβs running.
AndrΓ© DausΒ Many thanks for doing it π
Looking forward to what you come up with!
AndrΓ© DausΒ I donβt have a specific need right now as such. I was planning to move my WooCommerce site to FluentCart, which is why Iβm exploring it. However, these tags would be very helpful:
- Product Title
- Product Link
- Product Sale Price
- Product Regular Price
- Product Quick View URL
- Product Category/tag
- Add to Cart URL
For reference, you can check the following documentation:
https://academy.bricksbuilder.io/article/woocommerce-builder/#dynamic-data
Abhishek PrajapatiΒ let me see if it is a quick win.
AndrΓ© DausΒ This would be great, because I'm using Brizy for more custom pages, and Blocksy for the theme. I know some Fluent Addon plugin already has a shortcode to show the product checkout section - but I need more compartmentalized codes as Abhishek requested - but more specifically, one that will recognize the page ID and pull it dynamically, instead of relying on the product ID. (Just read through the full thread and looks like we're on the same page! Just different builders!)
Ana GΒ while I worked a lot with Bricks, I know it quite well and already found a way to add the dynamic tags. But I never used Brizy. Does it use shortcodes or tags similar to Bricks?
Hi AndrΓ© DausΒ
Would it be possible to share a rough estimate for when some of the shortcodes are ready in case you've been able to work on them?
No pressure at all. I'm trying to figure out whether I can wait or if I'm going to have to figure something else out in the meantime for this project I'm working on.
Many thanks π
F. C.Β I want them yesterday. π Due to the holidays, development slowed down. I will be back at them this week, and I wanted to start adding them first anyway.
AndrΓ© DausΒ Alright, thanks for the update. Sounds good!
I created PowerKit for FluentCart last week. It extends FluentCart to the following features (to be extended)
- German legislation (will work for all EU countries)
- Rename VAT to appropriate names including rates, e. g., βUSt 19%β (for Germany)
- ShortCodes for products, and product details
- Makes FluentCart available for the Etch builder
- Makes FluentCart available for the Bricks builder
Most things are experimental or WIP (work in progress), but it works in general
F. C.Β I will focus on the short codes you mentioned first because I think it makes the most sense.
If anyone else needs something specific, drop me a line.
I consider the plugin as early alpha so far, and I will make it available once it reaches stable alpha (probably within this week).
AndrΓ© DausΒ Fantastic. Looking forward to trying it. Thanks again for building this :)
AndrΓ© DausΒ ...is this publicly available? If so, would you mind sharing a link?
Ryan VickermanΒ sure. Will do once itβs publicly accessible.
any news?
Hey everyone β jumping in here because I've been following this thread and had the same frustrations with FluentCart shortcodes.
I ended up building a plugin called FC Shortcodes that solves exactly what's being discussed here. You can see it in action at https://jazzedge.academy/fc-shortcodes/
Here's what it does:
Product card shortcode β one shortcode that pulls everything together: [fluent_shortcode pid="1234" item_id="3" show_featured_img="true" show_price="true" layout="horizontal" featured="true"]
Individual data shortcodes for use in any builder:
[fluent_price pid="1234"]β regular or sale price with strikethrough[fluent_add_to_cart pid="1234"]β working add to cart / instant checkout button[fluent_stock pid="1234"]β in stock / out of stock badge[fluent_product_image pid="1234"]β product gallery image[fluent_product_title pid="1234"]β title with optional link[fluent_product_excerpt pid="1234"]β description
Key things that were missing elsewhere:
- Works on any theme β Blocksy, Oxygen, Brizy, Bricks, whatever
- Dynamic page detection β shortcodes work without a pid on product pages
- Direct instant checkout link auto-built from FluentCart item ID
- Sale price with strikethrough and "Save $X" badge
- Featured ribbon or pill label with custom color
- Horizontal or vertical card layout, mobile responsive
- Admin shortcode builder with live preview so you can see it before you place it
Built by Katahdin AI β happy to answer questions if anyone wants to know more. This is exactly the gap I needed to fill for my own site and figured others in this community needed it too.
So is your plugin live and ready Willie Myette ? Β Can't really do anything on your page https://jazzedge.academy/fc-shortcodes/
Willie MyetteΒ Do you have this available?
