DecomTeam
Forum Replies Created
-
Dear @pokhriyal could you try with 1.0.5 version (latest) and report back, we just pushed the update (could be hour/two before changes are online)
Dear @enigmaverse WooCommerce by default doesnt have
subscription, you are using some plugin/extension for that ?Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift product amount is always 1Dear @foxi6 this plugin was never created to be BOGO plugin (buy one, get one), we dont allow stacking of gifts, to make it work in your scenario your gifts should be unique for every gift category + max quantity of one gift is
oneForum: Plugins
In reply to: [Giftable for WooCommerce] Call to a member function get_type() on null@maxauray thank you for reporting back, should be included in next update (no eta).
Forum: Plugins
In reply to: [Giftable for WooCommerce] Customize template@maxauray plan was to extend plugin to offer custom templates, but plans are changed/delayed now, we will try to maintain a plugin with 3.x etc… but thats all for 2019, small fixes like you reported earlier will be included in updates but no big things like custom templates, custom positions for gift slider etc… until further notice or change of mind.
You can always fork it at github repository.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Call to a member function get_type() on nullhi @maxauray thanks for report, you are using default WooCommerce theme files or you are trying to modify them ? where are you calling this
$strThumbnail?Check that you have latest woocommerce theme files applied to you
custom-theme/woocommerce/folder, I see that cart file is calling image like this:
$_product->get_image()$thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );What to do to reproduce it (steps or video would be great) ?
- This reply was modified 6 years, 9 months ago by DecomTeam.
Hi @kdpatel this post could help you:
queation about total/subtotal WC()->cart->subtotalplugin/includes/CriteriaAmounts.php from WC()->cart->subtotal to WC()->cart->total- This reply was modified 6 years, 9 months ago by DecomTeam.
Forum: Plugins
In reply to: [Giftable for WooCommerce] remove link from product title@mncain we are using your theme files in
theme/woocommerce/files..(or default woocommerce theme files for gift productplugins/woocommerce/files) we are not adding our own files (titles, images, buttons, texts) so you can edit your theme files or maybe disable click on title via CSS:pointer-events: none
Similiar post: https://wordpress.org/support/topic/remove-link-from-product-image/- This reply was modified 6 years, 9 months ago by DecomTeam.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Excluding certain users from getting free giftHi @amber19 Giftable doesnt support your use case (tracking user, auto add gift to cart..etc we dont have that).
I just shared a code that could help you go into right direction, you need to find solution how to track users from email campaign and not mix them with normal users, best way to do that is talk with your developer about custom solution or code to extend an plugin.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift not showing up on checkout@kristywg checked today and you dont have giftable activated, to be able to help we need to see you setup (Gift categories, Gift product etc..) or to have dashboard access, work should be done on staging/local/demo site never on live.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift not showing up on checkoutDear @kristywg Can you show us video/showcase ?
– right now on your shop even registered user cant add product to cart – there is nobuy button/ add to cart button(looks like your shop is locked only to Australia?)– promote a user with email
mabug@app-expert.comto administrator (notify us), so we can take a look – I guess your conditionals arent setup correctly
– you need to read Sticky post – as giftable dont re-calculate price after coupon code is used (you need to edit that manualy if you want to use condtitionals), detailed topic is in this support topic- This reply was modified 6 years, 9 months ago by DecomTeam.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Excluding certain users from getting free giftHi @amber19 giftable doesn’t have that feature, we have
userconditional but it would be hard to select all users (+ if users can register) –userconditional was created to give gift to couple (2-4) selected users (like small reward system etc.)What you can try (needs custom code) is to dedicate users on registration to different custom user roles then it would be easier to customize other things:
$user = wp_get_current_user(); $allowed_roles = array('email_role', 'second_role'); <?php if( array_intersect($allowed_roles, $user->roles ) ) { ?> // show something to only email_role and second_role users <?php } ?>in combination with
/** * Add another product depending on the cart total */ add_action( 'template_redirect', 'add_product_to_cart' ); function add_product_to_cart() { if ( ! is_admin() ) { global $woocommerce; $product_id = 2831; //replace with your product id $found = false; $cart_total = 30; //replace with your cart total needed to add above item if( $woocommerce->cart->total >= $cart_total ) { //check if product already in cart if ( sizeof( $woocommerce->cart->get_cart() ) > 0 ) { foreach ( $woocommerce->cart->get_cart() as $cart_item_key => $values ) { $_product = $values['data']; if ( $_product->get_id() == $product_id ) $found = true; } // if product not found, add it if ( ! $found ) $woocommerce->cart->add_to_cart( $product_id ); } else { // if no products in cart, add it $woocommerce->cart->add_to_cart( $product_id ); } } } }Forum: Plugins
In reply to: [Giftable for WooCommerce] Don’t want to show the gifts on shop.Hi @kookaburrainternational you can create category then exclude that category using a action
woocommerce_product_queryinside your functions.php file.
Here is a gist link and here is a code:add_action( 'woocommerce_product_query', 'giftable_custom_pre_get_posts_query' ); function giftable_custom_pre_get_posts_query( $exclude_query ) { if( is_shop() || is_page('or-some-special-page') ) { // set conditions here $tax_query = (array) $exclude_query->get( 'tax_query' ); $tax_query[] = array( 'taxonomy' => 'product_cat', 'field' => 'slug', 'terms' => array( 'exclude', 'gifts' ), // excluded categories 'operator' => 'NOT IN' ); $exclude_query->set( 'tax_query', $tax_query ); } }- This reply was modified 6 years, 9 months ago by DecomTeam.
Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift not showing up on checkoutHi @kristywg , this are steps that are required:
1. Install plugin / activate
2. Create a Gift category (also enable gift category + add condition)
3. Create a Gift product, mark it as Giftable and pick a Gift category
– if conditions are met Gift will show on Cart page.
4. Share a Video/Screenshots of setup/backend/settings etc for giftable so we can re-check (also your gift products should have all informations filled in: Price, SKU…)
– you can also share a website url so we can see it online ?How to debug and what to try:
1. Disable other plugins and try with WooCommerce + Giftable only
2. Try different theme, we recommend Storefront
– best way would be to do clean install and test there (not on live site)
– create a backup before anything (create backup of files and database)
3. WordPress debug should be enabled and checked for plugin/theme conflicts– Could you share site url
Forum: Plugins
In reply to: [Giftable for WooCommerce] Gift not showing up on checkoutDear @kristywg we only support cart page
( slider with gifts will show on cart page )