
外掛標籤
開發者團隊
原文外掛簡介
Definitivo Commerce Studio adds twenty-three blocks to the block editor, made to sell the products of a WooCommerce store, and whole landing pages built with them.
Every block is drawn by the server, works without JavaScript, follows the colors of your theme and has a light and a dark color scheme. Each element of a block has its own panel in the Styles tab: colors, sizes, alignment and corner radius.
Blocks of products
Product Hero: the product at the top of a page, with its price, its buttons and what makes a visitor trust the purchase.
Product Grid: products in a grid, with ready-made layouts, category tabs, sorting and “load more”.
Product Carousel: products in a row that scrolls, with arrows, indicators and several arrangements.
Blocks of content
About the Product: the story of the product over a photo, with highlights and buttons.
Product Features: cards with a photo, a number or an icon.
Product Hotspots: points over a photo of the product, each one with its text.
Comparison Table: the product beside the others, feature by feature.
Testimonials: what buyers say, written by hand or taken from the reviews of a product, in a row that slides or with the average rating very large beside them.
FAQ: questions that open to show their answers, written by hand or taken from the product, with the FAQ structured data for search engines.
Carousel Gallery and Grid Gallery: the photos of a product, or the ones you choose, in a carousel, a grid or a mosaic.
Call to Action: the closing of a page, with a large heading, a button that says the price and a photo of the product.
Product Specs: the specifications of a product, written by hand or taken from its attributes.
Tagged Image: a photo with tags over it, each where you drag it, and a seal.
Text Marquee: a strip of short phrases that runs across the page, or stands still.
Pricing Table: the plans of what you sell side by side, each with its price, its list and its button, and one of them featured.
Product Title: the name of a product as a title that always fits: a long name is written smaller, so no word is broken.
Buy Bar: a bar at the foot of the screen with the photo, the name and the price of a product and one button to buy it, on phones or on every screen.
Countdown: the time that is left until an offer ends, counted to a date, to the end of the sale of a product, to a time that repeats every day or for each visitor; in boxes, flip cards, rings, plain numbers or a bar, with what happens when it reaches zero.
Product Highlights: what makes a product worth buying, as a mosaic: a tall photo with a figure over it, numbered cards and a second photo, written by hand or taken from the product.
Button: a button with its own colors under the pointer, hover effects and an icon, that leads to any address or to a product: its page, the cart or the checkout.
Page Header and Page Footer: a bar with links to the sections of a landing page, and a footer for it.
Landing pages
The button “Definitivo Commerce Studio”, in the top bar of the editor, opens a library of whole pages. Choose one, choose the product it is for and the page is made, ready for your texts and your photos.
The library also has two templates for the page of every product of the store, Simple Single Product and Complete Single Product (photos beside what it takes to buy, then the highlights, the description, the technical sheet, the reviews, the questions and the products that go with it, with a bar to buy on phones): choose one, say whether it is for every product or for one, and it is saved as a template of your site, which you change in the editor of the site.
A block that shows a photo and has none yet draws the place of the photo, so you see the page as it will be before you choose them.
Fonts
Four fonts come with the plugin, so a page looks the same on any site: Anton, for large titles; DM Mono, for labels; Plus Jakarta Sans, for texts; and Playfair Display, a serif for titles, with its italic. They are served from your own site, and offered among the fonts of the editor. The newer blocks let you choose the font of each element.
Made to be read by everyone
The blocks follow the WCAG 2.2 as a reference: they are used with the keyboard, read by screen readers, and their default colors are checked for contrast.
Languages
The plugin is written in English and is ready to be translated to other languages.
Source code
The JavaScript and the CSS in the build folder are compiled. Their source comes with the plugin, in the src folder, with the files that build it (package.json, package-lock.json, webpack.config.js and guard-build-php.js). To build it again, with Node.js installed, run npm install and then npm run build in the folder of the plugin. The build uses @wordpress/scripts.
External services
The plugin comes with a few landing pages. More free ones, and the ones of Commerce Studio Pro (which the library shows locked), are kept in an online library: a server of the plugin, templates.wpdefinitivo.com.
Nothing is asked of that server until an administrator presses “Turn the online library on” in the screen of the library. From then on:
when that screen is opened, the site asks the server for the list of landing pages and its signature (two small files, at most twice a day), and the browser of who is looking at the screen loads the picture of each landing page from the same server;
when a landing page of the online library is used, the site asks the server for that landing page (one file and its signature) and for its pictures, which are copied into the media library of the site. The page made with it does not depend on the server: a picture that could not be copied is replaced by a drawing that comes with the plugin, never left on the server, and is asked again the next time the page is saved.
What comes from the server is content only: text, blocks and pictures. The plugin takes a file only when it is signed by its makers, and takes no code from it.
Every request says only which plugin asks (“Definitivo-Commerce-Studio”): not the address of the site nor the version of WordPress, which WordPress sends by default, and no data about the site, its store or its visitors. As with any request, the server sees the IP address that asks: the one of the site for the lists, the landing pages and their pictures, and the one of the person looking at the screen for the pictures of the library. “Turn it off”, in the same screen, stops it.
Only someone who edits the site makes it ask the server: a page of the site is shown to its visitors with no request to it.
The server belongs to WP Definitivo: terms of use and privacy policy.
Credits
The fonts that come with the plugin are Anton, DM Mono, Plus Jakarta Sans and Playfair Display, under the SIL Open Font License 1.1. The text of each license comes with the plugin, in build/fonts/.
The pictures of the landing pages and of the templates that come with the plugin were made by WP Definitivo with an AI image generator, for this plugin, and are distributed under the same license as the plugin (GPL-2.0-or-later).
The icons are a subset of Lucide, under the ISC license (with the MIT license of the Feather icons it keeps). The text of the license comes with the plugin, in includes/assets/icons/LICENSE.
