Hide Cart Price Button

/** * Hide Price & Add to Cart for Non Logged in Users for Specific Products */ function is_non_purchasable_products_for_visitors( $product ) { $not_purchasable_products = array( 23, 22 ); // Replace with Products ID you want to set as non purchasable…Continue reading

CLI_Extension – Gravity Flow CLI Extension v2.0

/** * Gravity Flow CLI Extension v2.0 * * Verified against official Gravity Flow API documentation: * – Orchestration API: https://docs.gravityflow.io/the-workflow-orchestration-api/ * – Step Framework: https://docs.gravityflow.io/the-workflow-step-framework/ * – REST API v2: https://docs.gravityflow.io/the-workflow-web-rest-api/ * * INSTALLATION: * Place this file at:…Continue reading

CLI_Extension -Uncanny Automator CLI Extension v3.0

/** * Uncanny Automator CLI Extension v3.0 * * INSTALLATION: * Place this file at: wp-content/mu-plugins/automator-cli-extension.php * Or add via WPCode snippets (set to run everywhere) * * COMMANDS: * wp automator list-triggers [–integration=] [–format=] * wp automator list-actions [–integration=]…Continue reading

FC – Decodificar subject emails

//* Filtramos el asunto del email para que llegue sin caracteres raros add_filter(‘wp_mail’, function ($atts) { $atts[‘subject’] = html_entity_decode($atts[‘subject’]); return $atts; });Continue reading

Product Video Cover Plugin Code

/* Plugin Name: WC Vídeo na Capa do Produto (Flatsome Ready) Description: Substitui a imagem principal do produto por um vídeo local (MP4/WebM/GIF) no WooCommerce, compatível com Flatsome. Mostra também no catálogo/listagem com autoplay por visibilidade (60%). Version: 1.2.1 Author:…Continue reading

Shop The Look Plugin

/* Zaa summary */ .product-footer .zaa-stl-wrapper .zaa-summary{ padding-left:0px !important; border-left-style:none !important; transform:translatex(0px) translatey(0px); } /* Zaa buy */ .zaa-stl-wrapper .zaa-summary .zaa-buy-btn{ min-width:10px !important; } /* Zaa buy */ #wrapper #main .shop-container .product .product-container .product-footer .container .zaa-stl-wrapper .zaa-summary .zaa-buy-btn{ width:100% !important;…Continue reading