block

Product information

Repo Release Link Client Features Developer
repo 16/12-24 link Talgo Invest / Melby innerBlocks Ann Christin

Functionality

User-friendly way to set up the start of a product (CPT, not Woo) display that includes: Automatic link back to products archive (innerblock), field for entering SKU (innerblock), setting up an image, and write the intro text.

This block depends on children innerblocks (separate plugins): https://github.com/DekodeInteraktiv/talgo-invest/tree/stage/packages/plugins/talgo-block-single-product-archivelink and https://github.com/DekodeInteraktiv/talgo-invest/tree/stage/packages/plugins/talgo-block-single-product-sku

Blocks has 100% functional translation.

Editor

Main content allows certain blocks, heading, paragraph, buttons.

Link to product archive has no settings. SKU has an inspector field for entering value. BlockControls on main block has setting for setting and replacing image.

Notes

Not ideal to have dependent blocks in separate plugins but I couldn’t for the life of me figure out how to put multiple blocks within same plugin (because of block.json).