movahedian1
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] filter not show after updatehi
thanks for help
it solved!and please dont remove shortcode
thanks
- This reply was modified 6 years, 1 month ago by movahedian1.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] filter not show after updatehi
these filter load by shortcode
added in archive page code directly
i add some test word and display itthis is code:
<div class="archive-right-modal"><span> نمایش فیلترها</span></div> <div class="archive-right"> <?php //woocommerce_breadcrumb(); ?> <?php global $wp_query; ?> <?php //this add new echo "test"; // this line printed ?> <?php do_shortcode('[br_filters attribute=price type=slider title="قیمت"]'); ?> <?php do_shortcode('[br_filters attribute=pa_brand type=radio title="نوع"]'); ?> <?php do_shortcode('[br_filters attribute=pa_health type=checkbox title="سلامت"]'); ?> <?php do_shortcode('[br_filters attribute=pa_appropriate type=checkbox title="مناسب برای:"]'); ?> <?php do_shortcode('[br_filters attribute=pa_basetype type=checkbox title="نوع:"]'); ?> <?php do_shortcode('[br_filters attribute=pa_degree type=checkbox title="درجه ممتاز"]'); ?> <?php do_shortcode('[br_filters attribute=pa_weight type=checkbox title="وزن خالص"]'); ?> </div> <div class="archive-left">only show “test” and filter not show
please help
thanks- This reply was modified 6 years, 1 month ago by movahedian1.
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] filter not show after updatehi
i enable debug modeForum: Plugins
In reply to: [Advanced AJAX Product Filters] filter not show after updatehi
i fix JavaScript error but the problem exist and filter not show
please help
thankshi
after upgrade if create new course, the quiz work good
but for older course the question not show
any solutoin?
thankshi,
the question always show, and the version is 2.1.8.1,
but the answer not show in any time
please help
thanksForum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] limit userhi
i add this code in class-gens-raf-public.php and change function gens_create_send_coupon and work:public function gens_create_send_coupon($order_id) { $rafID = esc_attr(get_post_meta( $order_id, '_raf_id', true)); // Get id of user that made order so that user cant use his own ref link. $order = new WC_Order( $order_id ); $order_user_id = $order->get_user_id(); $gens_users = get_users( array( "meta_key" => "gens_referral_id", "meta_value" => $rafID, "number" => 1, "fields" => "ID" ) ); $user_id = $gens_users[0]; // added code $user_info = get_userdata($user_id); $user_email = $user_info->user_email; $couponargs = array( 'post_type' => 'shop_coupon','posts_per_page' => -1, 'meta_key' => 'customer_email', 'meta_value' => $user_email); $mycoupons = get_posts( $couponargs ); $count = count($mycoupons); //end // user ref exists, refID as well, and user is not using his own referral link ? If all good, proceed. if ( $gens_users && !empty($rafID) && ($user_id != $order_user_id) && $count < 2) { // Generate Coupon and returns it $coupon_code = $this->generate_coupons( $user_id ); // Send via Email $this->gens_send_email( $user_id, $coupon_code ); } return $order_id; }but i want a way to not change in core of plugin.
please help
thanks- This reply was modified 8 years, 10 months ago by movahedian1.
Forum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] hide section couponhi
there is no way to do this with remove action?
thanksForum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] change text in post_excerpthi, thanks
Forum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] change text in post_excerpthi
and there is no way to override plugin and did not change plugin core?
because change in plugin core destroy in next update
thanksForum: Plugins
In reply to: [Refer A Friend for WooCommerce by WPGens] change text in post_excerpthi @goran87
thanks for reply
but how can replace email with username (not direct in core of plugin)?- This reply was modified 8 years, 10 months ago by movahedian1.
- This reply was modified 8 years, 10 months ago by movahedian1.