Jump to content

IF STATEMENT


Andrea D.

Recommended Posts

Hello, i am not a dev.

Whmcs told me to make a post here for assistence.

I am trying to use this code

https://whmcs.community/topic/303408-add-a-free-product-to-cart/


WHMCS team told me that i have to "wrap the code inside an if statement that checks for the presence of the desired product - a match for the relevant product ID in 

Can someone write this IF condition for me?
Link to comment
Share on other sites

13 minutes ago, Andrea D. said:

I already have the hook i am asking help for the if statement as normal people do.

Check: 


https://whmcs.community/topic/303408-add-a-free-product-to-cart/

 

9 minutes ago, Andrea D. said:

I dont have the hook...this is why i am asking help pRieStaKos.

I’m confused !! You already have or don’t have the hook
Anyway. I provided you a contact form to request custom hook service...

Cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated