Jump to content

hogava

Member
  • Content Count

    59
  • Joined

  • Last visited

Community Reputation

2 Neutral

About hogava

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Please advise on how to create a ticket through a hook.
  2. Hello, I need to send a ticket to every clients, after their next order. After each order, it should be checked whether this ticket has been sent to them before or not and send if not already sent. Please help me about how can do this?
  3. this hook worked for me: <?php use WHMCS\Database\Capsule; add_hook('ClientAreaPageCart', 1, function($vars) { $clientsdetails = $vars['clientsdetails']; $userid = $clientsdetails['userid']; $cxid = Capsule::table('tblcustomfieldsvalues')->where('fieldid','343')->where('relid',$userid)->value('value'); // 343 is the field that needs to be filled. if ($cxid == '') { header("Location: clientarea.php?action=details"); exit; }else {} }); ?>
  4. Hello, I added new custom client field, now I need to have everybody complete that field before than order complication. how can take user to profile edit page if client not completed custom field? thanks
  5. Hi, In the past, I used the mail function to send mail in the hook. but now I changed my host and that mail function disabled. I searched the community and saw some methods, but none of them did not work for me. Please send me PHP code for this that works. Thanks
  6. And how can add limit for minimum allowed amount is 10 ?
  7. Hi customer see product and add that to card, Now I want in card (cart.php?a=view) default quantity be 10 instead 1. (ind see 10 prices.) how I can do it?
  8. Hi I have product and that have several addon. when customer order, he/she can chose multiple quantities. I need multiple just apply to product and not to addons. thanks.
  9. how I can have that relid when invoicepaid for use in hook?
  10. Hi Please Help me ablout relid in customfieldsvalues table?
  11. Exactly I want to add a value to a product custom field when invoice paid, that shown in order or invoice page. Thanks for your help. <?php add_hook('InvoicePaid', 1, function($vars) { // Perform hook code here... });
  12. Hi I want add a value to "Custom Field" of product, during order process. how i can do this with hook?
  13. Hi, in clientareainvoices page how can increase invoice from 25 to 100 ?
  14. with this method, any time that i refresh page, i get new value!
×
×
  • 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