Fy2Press
Explorar

PT-BR

Fy2Press 1.0.0 · 09

Referência dos 27 shortcodes públicos

Use o catálogo público exato fy2press_*, agrupado por responsabilidade de produto, coleção e filtragem.

Documentação do Fy2Press 1.0.0. O plugin gratuito está disponível no WordPress.org. O PRO é vendido separadamente pela Freemius, nossa fornecedora de licenças e pagamentos.

Em três etapas

  1. Comece pelo shortcode completo quando a composição padrão bastar.
  2. Use peças granulares apenas no contexto necessário.
  3. Valide a página e a passagem à Shopify antes de publicar.

Este guia descreve o Fy2Press 1.0.0. As telas podem mudar em versões posteriores, então confira a versão exibida na tela Plugins antes de segui-lo.

Resultado esperado

Use o catálogo público exato fy2press_*, agrupado por responsabilidade de produto, coleção e filtragem.

Use o registro público completo de 27 entradas apresentado abaixo como uma superfície de API vinculada à versão. Cada entrada registra sua sintaxe mínima, atributos e valores padrão, contexto exigido, saída e limite conhecido. O WordPress passa os atributos de shortcode como strings antes que o renderizador normalize os valores suportados.

Antes de começar

  • Comece pelo shortcode completo quando a composição padrão bastar.
  • Use peças granulares apenas no contexto necessário.
  • Valide a página e a passagem à Shopify antes de publicar.

O que este guia abrange

Lembre-se de quem faz o quê: a Shopify mantém os produtos, o estoque, os pedidos, os pagamentos e o checkout; o Fy2Press traz o catálogo para o WordPress e o exibe; o WordPress hospeda suas páginas e seu conteúdo editorial. Nada neste guia transfere pedidos, clientes ou pagamentos para o WordPress.

Use o registro público completo de 27 entradas apresentado abaixo como uma superfície de API vinculada à versão. Cada entrada registra sua sintaxe mínima, atributos e valores padrão, contexto exigido, saída e limite conhecido. O WordPress passa os atributos de shortcode como strings antes que o renderizador normalize os valores suportados.

Etapas

  1. Comece pelo shortcode completo quando a composição padrão bastar. Consulte o inventário completo vinculado à versão apresentado abaixo e teste o menor exemplo representativo antes de reutilizá-lo.
  2. Use peças granulares apenas no contexto necessário. Consulte o inventário completo vinculado à versão apresentado abaixo e teste o menor exemplo representativo antes de reutilizá-lo.
  3. Valide a página e a passagem à Shopify antes de publicar. Consulte o inventário completo vinculado à versão apresentado abaixo e teste o menor exemplo representativo antes de reutilizá-lo.

Verificar o resultado

Confira o resultado onde os visitantes vão vê-lo: abra a página pública do WordPress, e não apenas a tela do Fy2Press, e compare um produto representativo com a Shopify, incluindo preço, disponibilidade, variantes e coleção. Repita uma pequena alteração uma vez para confirmar que o comportamento é estável.

  • Confirme o nome exato ou o identificador estável.
  • Compare o contexto declarado com a página renderizada.
  • Teste os estados de dados vazios, longos e indisponíveis.
  • Compare as saídas do Gutenberg, do shortcode, do Elementor e do WPBakery apenas onde a matriz de cobertura declarar um componente.

Problemas comuns

  • Não deduza um atributo, um controle de bloco ou um componente de construtor a partir de um nome parecido.
  • Não conte os componentes exclusivos de construtores entre os shortcodes públicos.
  • Não descreva uma cobertura conceitual como paridade de controles, de marcação ou de comportamento.

Solução de problemas

  1. Reconfirme a versão e a edição do pacote instalado.
  2. Reduza o problema a um componente, um registro de catálogo conhecido e uma URL do WordPress.
  3. Compare o nome exato, o identificador estável, o contexto e a saída com o inventário vinculado à versão apresentado abaixo.
  4. Identifique se a responsabilidade que falha é da Shopify, do Fy2Press ou do WordPress.
  5. Preserve a resposta renderizada e as configurações antes de alterar a configuração e, em seguida, repita uma vez o menor teste seguro.

Segurança e dados

Se você pedir ajuda, anote a versão do plugin, as versões do WordPress e do PHP, seu tema ou construtor de páginas, o endereço da página e as etapas que você seguiu. Use produtos de teste e remova das capturas de tela os tokens, os dados de clientes, os detalhes de pedidos e os endereços privados antes de compartilhá-las.

Efeito nas buscas

Componentes de referência podem alterar títulos, links, dados de produto e controles interativos. Em uma página representativa, inspecione a semântica renderizada, a acessibilidade, o comportamento canônico e a passagem da compra para a Shopify.

Informações para o suporte

Se você pedir ajuda, anote a versão do plugin, as versões do WordPress e do PHP, seu tema ou construtor de páginas, o endereço da página e as etapas que você seguiu. Use produtos de teste e remova das capturas de tela os tokens, os dados de clientes, os detalhes de pedidos e os endereços privados antes de compartilhá-las.

Guias relacionados

Versão e disponibilidade

Documentação do Fy2Press 1.0.0. O plugin gratuito está disponível no WordPress.org. O PRO é vendido separadamente pela Freemius, nossa fornecedora de licenças e pagamentos.

Para saber mais: Criar com blocos e shortcodes (EN)

Superfície de produto

Shortcode attributes arrive as WordPress strings and are normalized by the renderer. The values below come from the Fy2Press source for the version shown; they do not prove control parity across builders.

fy2press_product
[fy2press_product id="123"]Role: complete product composition. Context: a published shopipress_product, or resolve with id or handle. Attributes/defaults: id=empty; handle=empty; show_description=yes; show_collections=yes; show_tags=no; class=empty. Output: product media, title, price and the available product controls. Returns an empty string when no published product resolves.
fy2press_product_title
[fy2press_product_title]Role: product title. Context: product page or builder preview. Attributes/defaults: fallback=Product Title Placeholder; show_fallback_in_editor=yes; tag=h1; font_size, font_weight, color, text_align, margin, padding and css_class=empty. Output: escaped title in the validated text container.
fy2press_product_description
[fy2press_product_description content_type="excerpt"]Role: product description. Context: singular product; otherwise the preview fallback. Attributes/defaults: content_type=full (full|excerpt|custom); word_limit=150; tag=div; fallback=empty; font_size=empty; font_weight=400; color, text_align, line_height, margin_top, margin_bottom, padding, css_class and css_id=empty; debug=false. Output: allowed product HTML passed through WordPress formatting.
fy2press_product_price
[fy2press_product_price type="range"]Role: product price. Context: singular product or preview fallback. Attributes/defaults: type=single (single|range|from); currency=symbol (symbol|code|none); fallback=$29.99; tag=div; font_size, font_weight, color, text_align, margin, padding and css_class=empty; show_compare=no; compare_color=#9ca3af; show_sale_badge=no; badge_color=#ef4444; badge_text_color=#ffffff; badge_text=On Sale. Output: formatted minimum, range or from-price, with optional comparison and sale badge.
fy2press_product_image
[fy2press_product_image link_to="product"]Role: featured product image. Context: singular product or editor preview. Attributes/defaults: size=large; width, height, object_fit and align=empty; link_to=none (none|full_image|product|custom); custom_url=empty; target_blank=empty; border_radius, border, box_shadow, margin, css_class, css_id and alt_text=empty. Output: responsive image markup with an optional validated link.
fy2press_product_url
[fy2press_product_url]Role: Shopify product URL. Context: synchronized product with a valid Shopify handle and configured store. Attributes/defaults: format=url (url|link); text=View on Shopify; target=_blank; class=shopipress-product-url shopipress-d-product-url. Output: escaped URL text or link; empty when the source URL cannot be resolved.
fy2press_product_vendor
[fy2press_product_vendor]Role: product vendor. Context: product data. Attributes/defaults: class=shopipress-product-vendor shopipress-d-product-vendor; prefix=empty; suffix=empty. Output: escaped vendor label or empty string.
fy2press_product_type
[fy2press_product_type]Role: Shopify product type. Context: product data. Attributes/defaults: class=shopipress-product-type shopipress-d-product-type; prefix=empty; suffix=empty. Output: escaped product-type label or empty string.
fy2press_product_tags
[fy2press_product_tags]Role: synchronized product-tag links. Context: product post with shopipress_tags terms. Attributes/defaults: separator=comma-space; limit=0; class=shopipress-product-tags shopipress-d-product-tags; tag_class=shopipress-product-tag shopipress-d-product-tag; style=links (links|badges); prefix=empty; suffix=empty; title=Tags:; wrapper=div; wrapper_class=shopipress-tags-section shopipress-d-tags-section; hide_if_empty=true. Output: linked terms.
fy2press_product_gallery
[fy2press_product_gallery]Role: product gallery. Context: synchronized product media. Attributes/defaults: show=all (all|featured); layout=gallery (gallery|slider); thumbs=bottom (bottom|right|none); size=large (medium|large|original); columns=4; class, main_class and thumb_class use the built-in Fy2Press defaults. Output: main image and optional thumbnails.
fy2press_product_availability
[fy2press_product_availability]Role: availability status. Context: product inventory data. Attributes/defaults: show=status (status|quantity|both); format=text (text|badge); in_stock_text=In Stock; out_of_stock_text=Out of Stock; low_stock_text=Low Stock; low_stock_threshold=5; show_quantity=false; class=shopipress-product-availability shopipress-d-product-availability. Output: status and optionally quantity.
fy2press_product_variants
[fy2press_product_variants]Role: variant selector. Context: product with synchronized variants. Attributes/defaults: style=dropdown (dropdown|buttons|grid); show_prices=false; show_images=false; show_labels=true; built-in class and option_class defaults; hide_default_variant=true. Output: selectable variant controls; default-title variants can be hidden.
fy2press_product_collections
[fy2press_product_collections]Role: product collection links. Context: product with shopipress_collections terms. Attributes/defaults: style=links (links|badges); separator=comma-space; limit=0; built-in class and collection_class defaults; prefix and suffix=empty; title=Collections:; wrapper=div; built-in wrapper_class; hide_if_empty=true. Output: linked collection terms.
fy2press_add_to_cart
[fy2press_add_to_cart]Role: Shopify cart action. Context: resolved product and purchasable variant. Public attributes: none; the shortcode uses the built-in product-design schema. Output: quantity and add-to-cart contract when available; the safe missing-variant action can direct the visitor to view the product. Checkout remains on Shopify.
fy2press_buy_now
[fy2press_buy_now]Role: direct Shopify buying action. Context: resolved product and variant. Attributes/defaults: text=Buy Now; class=shopipress-buy-now-btn shopipress-d-buy-now-btn; target=_blank. Output: escaped buying link that hands commerce back to Shopify.
fy2press_related_products
[fy2press_related_products limit="4"]Role: related product list. Context: a product resolved by current page or id. Attributes/defaults: id=empty; limit=4; title=You may also like; orderby=date; class=empty. Output: a bounded related-product composition; no dedicated builder component exists in the version shown.

Superfície de coleção

Shortcode attributes arrive as WordPress strings and are normalized by the renderer. The values below come from the Fy2Press source for the version shown; they do not prove control parity across builders.

fy2press_collection
[fy2press_collection handle="collection-handle"]Role: complete collection composition. Context: collection resolved by id, handle or collection archive. Attributes/defaults: id=empty; handle=empty; limit=24; columns=4; show_title=yes; show_description=yes; pagination=infinite; class=empty. Output: collection heading and product loop, or empty when no collection resolves.
fy2press_products_loop
[fy2press_products_loop collection="collection-handle" limit="12" columns="3"]Role: product grid. Context: any page, optionally filtered to a collection. Attributes/defaults: limit=24; columns=4; collection=empty; class=shopipress-d-products-loop; item_class=shopipress-product-card; pagination=infinite; sort_by=empty. Supported sort mappings include price, title and created-date directions. Output: paginated or infinite catalog cards using local synchronized records and reviewed Storefront data paths.
fy2press_collection_title
[fy2press_collection_title]Role: collection title. Context: collection archive or resolved term. Attributes/defaults: tag=h1; class=shopipress-collection-title shopipress-d-collection-title; prefix=empty; suffix=empty. Output: escaped collection title.
fy2press_collection_description
[fy2press_collection_description]Role: collection description. Context: collection archive or resolved term. Attributes/defaults: class=shopipress-collection-description shopipress-d-collection-description; wrapper=div; hide_if_empty=true. Output: allowed description HTML or nothing when empty.
fy2press_collection_sort
[fy2press_collection_sort]Role: product sort control. Context: a product loop that reads the same public query state. Attributes/defaults: class=shopipress-collection-sort; label=Sort by:; show_label=true; default_option=Sort by...; wrapper=div; wrapper_class=shopipress-sort-wrapper shopipress-d-collection-sort. Output: sort selector preserving compatible query parameters.

Busca e filtros

Shortcode attributes arrive as WordPress strings and are normalized by the renderer. The values below come from the Fy2Press source for the version shown; they do not prove control parity across builders.

fy2press_product_search
[fy2press_product_search]Role: local product-title search control. Context: paired with the products loop. Attributes/defaults: placeholder=Search products...; class, wrapper_class, input_class and button_class use built-in defaults; button_text=Search; show_results_count=yes; search_in=title,description,tags. Current local search implementation is title-only; do not infer full-field parity from the attribute label.
fy2press_collection_filter
[fy2press_collection_filter type="dropdown"]Role: collection filter. Context: product loop or collection navigation. Attributes/defaults: type=dropdown (dropdown|checkbox|list); show_count=yes; built-in class and wrapper_class; title=Collection; show_title=yes; show_all_option=yes; all_text=All Collections; limit=0; orderby=name (name|count|slug); order=ASC; hide_empty=yes; hierarchical=yes; behavior=collection_archive (collection_archive|query).
fy2press_tag_filter
[fy2press_tag_filter type="tags"]Role: product-tag filter. Context: product loop reading tag_filter. Attributes/defaults: saved type, with checkbox, tags, buttons, dropdown, list and cloud render paths; show_count=yes; built-in class and wrapper_class; title=Filter by Tags; show_title=yes; show_all_option=yes; all_text=All Tags; limit=10; orderby=count; order=DESC; hide_empty=yes; multiple=yes; style=badges; max_display=20.
fy2press_filter_sidebar
[fy2press_filter_sidebar]…[/shopipress_filter_sidebar]Role: filter composition wrapper. Context: encloses other Fy2Press filter shortcodes. Attributes/defaults: class=shopipress-filter-sidebar; wrapper_class=filter-sidebar-wrapper; title=Filter Products; show_title=yes; style=sidebar (sidebar|horizontal|accordion); background=#f8f9fa; padding=20px; border_radius=8px; gap=20px. Output: grouped filters and a clear-all action when compatible filters are active.
fy2press_price_filter
[fy2press_price_filter min="0" max="250"]Role: price filter. Context: product loop reading price_min and price_max. Attributes/defaults: min=0; max=1000; default_min=0; default_max=250; step=10; currency=auto; title=Filter by Price. Values are bounded and normalized by the product loop before Storefront requests.
fy2press_availability_filter
[fy2press_availability_filter type="checkbox"]Role: availability filter. Context: product loop reading availability_filter. Attributes/defaults: type comes from the saved display setting; supported paths are checkbox, buttons and dropdown, with radio retained for compatibility; options=in_stock,out_of_stock; title=Availability; show_count=yes; class=availability-filter-container. Output: public query controls.

Mantenha a fronteira visível

A Shopify controla o comércio, o Fy2Press transporta o catálogo e o WordPress publica.

Shopify · catálogo e checkout

Fy2Press · sincronização e renderização

WordPress · conteúdo, templates e SEO

Verifique antes de continuar

  • Confirme o resultado no WordPress.
  • Mantenha carrinho e checkout na Shopify.
  • Registre a versão ao relatar falhas.