How to set discount price for Grouped Product In Magento 2 - magento2

For Example: I have two simple product Mobile Phone of Price: 500$ and 1 Memory Card of price 10$. Total is 510 $.
I want to sell both product as a group at Price 505$.
From Admin section i'm not able to see any price configuration for Group Product IN Magneto 2.

It looks like the price attribute is missing in your Attribute set.
Please check: Stores --> Attributes --> Attribute Set
Normally, you can choose Advanced Pricing for this

For Grouped Products the price is calculated as the sum of the prices of the individual products.
That's also why the price section is missing for grouped products.

The grouped products in Magento mainly serve as a way to display few products on one page. You can't set a price for the grouped product since Magento calculates the price dynamically by summing up the children products' prices that were selected by the customer. That is if the customer adds the mobile phone and the memory card to cart from within the grouped product page, the price will be $500+$10 = $510.
Therefore, if you want to be able to set a different price for products that were purchased together, there are two options:
1) Use a Bundled Product (with Price Type = Fixed Price) and set the phone and the memory card as it's children. In this case, you can set the bundled product price to be $505.
There are few limitations to this solution:
The customer can't just add the mobile phone or the memory card to cart separately from this page, he can only add them together. That is the customer will need to go to a separate page to purchase the mobile phone (or the memory card) standalone.
Once the user added the bundled product to his cart, he can't just remove one child product from the cart (e.g the memory cart) - he has to remove both.
2) You can use an extension for it. One of the extensions that implement this functionality is Bundled Discount. It allows you to set the products of group A (in your case - the mobile phone) and the products of group B (in your case the memory card) and set the special price whenever they are purchased together (eg: $505).
It also allows you to create a separate page for the bundled promotion. This way, the user can select whether he wants to add only the mobile phone for $500, the memory card for $10, all both for $505.
The user can also remove one of the products from his cart and only pay for another product (eg: the user removes the memory card from his cart and only pays $500 for the phone).
Disclaimer: I am the CEO of the company that developed the Bundled Discount extension.

Related

Can I autoload products and price lists in magento2?

My magento site will be used in multiple countries like Thailand, Malaysia, Indonesia, Phillipinse, Singapore. If a person open the site from Thailand, based on geo location, the site should automatically load thailand specific information like home page and price etc. If its opened from Malaysia, it should show Malaysia specific homepage and price.
Each country will have multiple product vendors who will send the product to the customer. Each vendor will have a separate account (username/password) and they can maintain their inventory/upload their product with their price from their account. The customer can see all products from all vendors for that country from which customer open the site. After the customer place order, product vendor will receive an email about order according to the email id they have configure in their profile. If customer choose two seperate products from two different customer, then two different email should be generated and sent to product vendor. Later, product vendor will pack the product and send to the customer. After that, order status is closed.
What should I complete these functions?
I don`t know what should I do.

Best practice for add-on items during ecommerce transaction with Google Analytics 4 (GA4)

I am looking for the best practice on the following scenario when utilizing ecommerce transaction (purchase) tracking with GA4:
A customer has gone through the entire checkout flow and added a product to their cart. During checkout they add an optional add on (say it's a warranty or what have you.) When you send over the items array for the purchase event, should only the original product in the cart be sent over for tracking or should there now be two items, one for the product and one for the add on that was added in the cart during checkout? Note that this add on could not be purchased individually and is therefore not a standard product someone could purchase (i.e. they can't buy a warranty without also buying the product but they can buy the product without the warranty.)
Ideally answers will include sources for this best practice.
Some other examples:
add a t-shirt to your cart and add on gift wrapping
book a night at a hotel and add on the romance package
purchase a scuba diving tour and add on an extra scuba tank
Thanks in advance!
Always keep some parameters that capture additional information along with the regular Ecommerce event capture.
Example:
EventName: purchase_event
itemName: blue t-shirt
add_on: gift_wrapping | personalized_writeup | No add_on's(this is an additional information to understand how many are using.

WooCommerce Pinpoint Booking system not showing prices correctly

I'm Pinpoint booking system for reservations and WooCommerce for payment. And I see the following problem:
The system is supposed to calculate prices based on number of selected days for the booking, but, when selecting multiple days for a booking site, in the WooCommerce cart the amount reflected in the woocommerce screen is not what is reflected in the booking pinpoint piece (the booking Pinpoint piece is calculating correclty the amount based on qty of days, but the WooCommerce section shows the price for only 1 item).
For example, if I book for 2 nights at $8/night, the check in/check out part of the cart shows $16, but the Woocommerce part of the cart page shows QTY 1 at $8 (being the product price for a single product).
How do I fix this?

PayPal buy now / shopping cart with and without postage assistance

I am looking for assistance with multiple buttons on a page, some which have postage and nultiple items, some without or free postage.
At present i have a standard shopping cart option on a page created from the standard create button PayPal page, which provides a space for the buyer to type in their requirements with includes free postage and works fine.
A second shopping cart on the same page offers a similar buyer feature but adds postage, all works fine.
Third, fourth and fifth buying options are single buy now buttons each with added postage.
But the problem for the buyer is that when they a add a single item with postage and a multi-buy shopping cart option, they end up with duplicate postage...
If they buy 2 single items using the buy now buttons + a multi-buy they end up having three duplicate postage costs in their order.
Any suggestions welcomed to avoid duplication of postage costs, thanks.
I'm not sure how you currently have the shipping set up (whether via the buttons themselves or the shipping profile), but this is how I would tackle this:
For the items that are free shipping, within the shipping option in the button itself I would set a shipping cost of 0.00. Then set up the shipping calculations section in Tools or your Profile for your shipping rates for the items that do have shipping costs. In the last step of the shipping calculations creation, you want the box to be checked to use the shipping cost in the transaction instead of your calculator settings and that will allow the buttons you have a shipping cost entered directly into to override the shipping costs you set in the shipping calculator.
If you need any assistance setting up the shipping calculator you may call into PayPal Support and they can assist you.

Using a hosted button with quantities for options

I would like to use Paypal in conjunction with a web form for selling conference tickets. Tickets will be available in various types and prices - standard, student, couple.
I would like users to be able to select a variety of tickets in one transaction - for example, two standard tickets and one student ticket.
Ideally I would have Paypal manage the inventory so that people can't make payments when tickets have run out. The limit on tickets is on the total; numbers within categories don't matter.
I can set up a ticket item on Paypal and limit it to the appropriate number, and I can set option prices. What I can't work out is how I send a request to Paypal with more than one "option + quantity" pair selected.
Any help gratefully received!
You would not be able to send more than one option + quantity pair over to PayPal with the standard add to cart or buy now buttons and have PayPal keep track of the inventory. Your best options would be either to set up the inventory on the PayPal side, and use add to cart buttons for each option + quantity.
Another option would be to use the cart upload method, where you pass over all the item details during checkout. This is similar to what 3rd party carts do. They keep track of what the buyer is adding to their cart, and then when they are ready to checkout they simply send all of the details over to PayPal in one POST. With this method, you would have to keep track of the inventory on your end though.