lankaster
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Add product to cart when coupon apliedI have chang it to, but it still dont work.
function iconic_add_to_cart() {
$coupon_code = ‘KOBIETY-VX1’;
if ( do_action( ‘woocommerce_applied_coupon’, $coupon_code ));WC()->cart->add_to_cart( 19145 );
}
add_action( ‘wp’, ‘iconic_add_to_cart’ );Forum: Plugins
In reply to: [WooCommerce] Add product to cart when coupon apliedThis will work ? I never worked at php its just simple copy pass.
* Add items to cart on loading checkout page.
*/
function iconic_add_to_cart() {
$coupon_code = couponcode;
do_action( ‘woocommerce_applied_coupon’, $coupon_code );
}WC()->cart->add_to_cart( item_id );
}add_action( ‘wp’, ‘iconic_add_to_cart’ );
- This reply was modified 7 years ago by lankaster.
Forum: Plugins
In reply to: [WooCommerce] Disabeling some shipping for diferend shipping classesFor example i made shipping class “BIG” ofc i implemented it to big product. I have 5 types of shipping, 3 of them are letters becouse i can send jewelery in letters, the “BIG” one i can’t send by letter so is there any option to disable thoes 3 types of shippment for class “BIG” or for specifi product
Forum: Plugins
In reply to: [WooCommerce] Not Re-Directing After Successful PaymentI think its about gateway plugin. You should contact your payment gateway provider.
Forum: Plugins
In reply to: [WooCommerce] Creating more than 1 shipping optionYou can turn off payment on delivery option. And have just 2 shipping options, cellect in store and standard delivery. Both have to by paid by transfer/paypal/or what ever you add.
Forum: Fixing WordPress
In reply to: Forcing search to post_type=productSo there is no functions.php code which will implement that ? I know that adding this to some search form file would help.
<input type=”hidden” name=”post_type” value=”product”>
Forum: Fixing WordPress
In reply to: Search resultThank you for an ansert. Isn’t there a some easy way to add to all search results link &post_typ=product ? It would solve problem.
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplayBaseing on my actual knowledge no.
Forum: Fixing WordPress
In reply to: Remove CSS warning on Theme EditorMaby just display: none for it ?
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplayCheck this, https://imgur.com/a/U2GuP
You have 2 screenshoots in there.
- This reply was modified 7 years, 3 months ago by lankaster.
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplayYou want sth like this yes ?
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplaySo made variation product from it. Then mark atribute as variation and add 1 variation and set “any (atribut name)” then fill price etc and save.
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplayWhat do you want to achive at this product page:
https://www.maiseymoo.co.uk/shop/dog-clothing/jumpers/park-lane-pullover/Forum: Plugins
In reply to: [WooCommerce] Search result.
- This reply was modified 7 years, 3 months ago by lankaster.
Forum: Plugins
In reply to: [WooCommerce] Product Attributes without Variation Don’t DisplayYes and you won’t find dropdown choose menu at simple product nither. And if you want to see some atribut at dropdown menu at variation product you have to mark them as variation.
Simple product don’t even have psoibility of marking artibut as variation, you can display that atribut at page at TAB additional informations placed near descriptions and reviews, but looks like your theme dosn’t support it or you turned it off somehow
- This reply was modified 7 years, 3 months ago by lankaster.