cancel
Showing results for 
Search instead for 
Did you mean: 

Designing a custom products without stock

Former Member
0 Kudos

Supposed there's a company who wants to use Hybris to sell its internet plan. It only has InternetOnly pack and Family pack (which contains TV programs). The final price is decided by: postcode, the speed needed by the customer and also the price calculation factor which the speed belongs to. The company has different price calculation factor for each speed range. So, if there are 3 ranges: A)1-5Mbps, B)5-10Mbps, C)10-20Mbps and the user requested 7Mbps in his place (postcode = 12345), then the final price will be 7 x B.priceRateAt(12345).

My questions are: Should I create InternetVariantProduct to represent a certain pack of a certain price range? Since the price is not predefined and the actual product might be "unlimited", should I implement my own PriceService implementation? If yes, how to get the speed requested by the customer?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mhmd,

Creating a dynamic attribute for price and whenever the customer request for particular speed, calculate price and set that to this dynamic attribute. I feel you don't need product concept as such if I am not wrong . Just have one product, So whenever particular speed is requested, just calculate price , set it to product model and at last show it on storefront .

Treat stock as the number of packs you will sell (like virtual stock).

That's just my suggestion. Do let me know your approach too.

Regards, Sid

Former Member
0 Kudos

That's what I was thinking too, there is no stock concept in this story but I don't know how Hybris can do it for me or even still suitable. If we use your approach, then how is the customer going to checkout his order? Because we don't have products.

Former Member
0 Kudos

Hi ,

Product will be added to cart ,but you will be showing different information as per your need on cart page and hence further.

Basically, I am trying to say, same product will be added to cart everytime. But the view for cart page and further checkout ,you can tweak and show your relevant information. In back end , a product is added to cart .But, you will attach your information to distinguish among different orders.

Regards, Sid

Answers (0)