No se han encontrado widgets en la barra lateral

Métodos del objeto $orden

Array ( [0] get_data_without_line_items [1] get_line_item_data [2] add_filters [3] order_class_name [4] get_report_customer_id [5] is_returning_customer [6] get_customer_first_name [7] get_customer_last_name [8] payment_complete [9] get_formatted_order_total [10] save [11] set_status [12] maybe_set_date_paid [13] update_status…

Leer más

Eliminar todos los productos por MySQL

SET FOREIGN_KEY_CHECKS = 0; TRUNCATE TABLE `catalog_category_product`; TRUNCATE TABLE `catalog_category_product_index`; TRUNCATE TABLE `catalog_category_product_index_tmp`; TRUNCATE TABLE `catalog_compare_item`; TRUNCATE TABLE `catalog_product_bundle_option`; TRUNCATE TABLE `catalog_product_bundle_option_value`; TRUNCATE TABLE `catalog_product_bundle_price_index`; TRUNCATE TABLE `catalog_product_bundle_selection`; TRUNCATE TABLE…

Leer más

[Seguridad] Limpiar código PHP

Para todos los input que se envían por POST o GET usar la función sanitize_text_field(), esta quita los "<", espacios, limpia en general todos los textos :) Ejemplo de uso:…

Leer más

Hacer Zoom In dentro de la galería en Pdp

Buscar el archivo view.xml dentro de la carpeta etc ubicada en el tema del sitio y en las líneas 223 aprox agregar al nodo de magnifier el subnodo mode con…

Leer más

Forzar https en htaccess

Agregar el sgte código en el archivo htaccess que se encuentre en la raíz de archivos del sitio web. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.dominio.cl/$1 [R,L]

Leer más