Category: eCommerce
Kode
connect site to google
نموذج حجز السفر
Change “Bank Routing Number” fields to “Sort Code”
add_action( ‘wp_head’, ‘wcv_bank_fields_2_column_reorder’ ); function wcv_bank_fields_2_column_reorder() { // Only load on vendor dashboard pages if ( ! is_user_logged_in() ) return; ?>Continue reading
Facebook Meta Pixel (copy)
!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,’script’, ‘https://connect.facebook.net/en_US/fbevents.js’); fbq(‘init’, ‘1452255222359732’); fbq(‘track’, ‘PageView’);Continue reading
Xskyverse
Untitled Snippet
Get Wholesale Price Array For A Product Based On A Wholesale Role
/** * Class that handles wholesale price HTML generation and display. * * @since 1.0.0 */ class WWP_Wholesale_Price_HTML_Handler { /** * Model that houses the logic of retrieving information relating to wholesale role/s of a user. * * @since 1.5.0…Continue reading
Show Wholesale Prices Text In Single Product Page For Wholesale Role Customers
/** * First Remove The Existing Pricing Filter So That It Will Be Available To All Users */ add_action(‘init’, ‘remove_existing_pricing_html’, 10); function remove_existing_pricing_html() { global $wc_wholesale_prices; remove_filter(‘woocommerce_get_price_html’, [$wc_wholesale_prices->wwp_for_non_wholesale_customer,’add_click_wholesale_price_for_non_wholesale_customers’], 10 ); } /** * Include Pricing HTML for all users */…Continue reading