Disabled "Buy as Gift" button for allow_gifts = 0

Issue #508 resolved
S150217754 created an issue

Hi,

The "Buy as Gift" button is not disabled even though the allow_gifts for the item is set to 0.

However, users are unable to purchase the item. Pop-up shows that action is illegal.

It'll be better to disable the button in the first place. Keep it sweet and neat.

Comments (6)

  1. S150217754 reporter

    Still persist in 1.8.0.

    "Buy as Gift" button is still enabled despite setting the catalog_items allow_gifts as "0". Upon making the purchase/gift, the game will prompt the following:

    Untitled.png

    To: Disable "Buy as Gift" button if catalog_items' allow_gift is set as "0".

  2. NextGenHabbo

    Maybe it's possible to change this text via config or external vars somewhere to say the item isnt purchasable?

  3. Wesley repo owner

    Oh yeah. Totally forgot about this. Was supposed to move allow_gift to the catalog_items table as that makes more sense than items_base table.

    EDIT: Sort of temporary fixed it. Please re-download 1.8.0 jar.

  4. Log in to comment