Okay
  Public Ticket #3164504
Discount
Closed

Comments

  •  1
    richardeverton started the conversation

    Hi

    Please can you advise if we add a wine on sale already discounted, the group set discount will not discount it further? In other words the sale price should be the lowest price available

  •  1,904
    WebWizards replied

    Hi Richard,


    Do you have a discount configured in B2BKing -> Dynamic Rules?

    And do you want it so that if a product already has a discount configured as a "sale price" in the product backend, then in that case the dynamic rule shouldn't apply?


    Did I understand that correctly? I think I may be able to help with a code snippet to change the behaviour that way.

  •  1
    richardeverton replied

    Yes that is correct but not just for one specific discount rule. In an ideal world I would like it to charge the lowest net price out of the sale price or their set discount? If that was possible to set up then that would be great thanks.

    If it has to be done by each rule separately then I guess I can copy the code each time I set up a new rule?


    Thanks

  •   WebWizards replied privately
  •  1
    richardeverton replied

    That's great thanks Stefan


    I have uploaded the new version now thanks and put the code into my PHP Functions.


    I have been looking at the dynamic pricing rules but I cannot see how I can set a fixed price for a single product? If I select Products and Categories, I am only offered categories when what I need is to choose a single product or maybe a few products to set a fixed price to?

    #

    Thanks

    Richard

  •  1,904
    WebWizards replied

    Are you able to see the 'Product or Variation IDs' option?

    5567243658.png

    That option replaces the dropdown when there are a large number of products in the site. In that case, you would need to enter the product ID there.

    To get a product's ID, you can edit the product in the backend, and check the number in the URL. If the URL has ?post=123, that number is the ID of the product.

  •  1
    richardeverton replied

    Thanks Stefan

    That’s a bit clunky and time consuming? 

    It would have been better if there was at least a predictive text on the product description as the product ID’s have no relevance text wise to the product?

     

    Cheers

     R

  •  1,904
    WebWizards replied

    Hi Richard,


    Admittedly, the current system with the product ID is a bit clunky - we'll be looking to make some improvements here.


    You can try to go to B2BKing -> Settings -> Other and disable this setting:

    8177541112.png


    Then you should see each product in the dynamic rules dropdown - but I'm not sure if it will work or not - depends on the number of products. If the page doesn't load, it means the setting needs to be turned back on.