Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About bellafronte

  • Rank

Recent Profile Visitors

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

  1. bellafronte

    Replacing credit card form with own

    Hello @steven99 I have tested the _remoteinput function and these appear to be fired on the input pages
  2. bellafronte

    ticket link replace URL in email template

    HTACCESS rules you can perform this change =) Try search HTACCESS rules regex!
  3. bellafronte

    start session outside of WHMCS

    I believe that you can use the oAuth to perform your need - https://developers.whmcs.com/oauth/
  4. bellafronte

    Edit a specific area on index(Home page)

    Do you want to remove the news option on your index page?
  5. Maybe you can use the jQuery.get() to Load data from the server using a HTTP GET request. jQuery.get() - https://api.jquery.com/jquery.get/ jQuery get() Method - https://www.w3schools.com/jquery/ajax_get.asp
  6. Hello WHMCS Community! I'm having a little challenge on a custom theme. I need to override some translations in a specific theme through the language file. This need is to be able to meet the need of the theme in changing words in the translation that help the user in the products that will be displayed in this theme, but this could not change the standard translation used in other WHMCS themes. Is it possible to create a translation file that is used only on a specific theme?
  7. bellafronte

    Integrating RabbigMQ messenger into whmcs

    @zub , I believe that the first step is the search for a good PHP library to base your needs. I have developed a provisioning module that integrates with the IBM MQ and a good SOAP library help me save lots of time in development.
  8. I get this resolved look the Data Feed files architecture. The data feed files can serve as the reference on retrieve this type of information.
  9. This resource is in progress: http://requests.whmcs.com/topic/attachments-via-api Unfurtnely now you can't send an attachment with the API.
  10. bellafronte

    How to relate orders to invoices?

    Maybe you can use the internal API like @brian! suggested. GetOrders Obtain orders matching the passed criteria
  11. Hello WHMCS Community! I'm building a custom page on WHMCS that needs to retrieve all the products on a specific product group. In this step so far so good. But, these products have their names translated into several languages using the dynamic translation and different currency prices, looking into WHMCS Classes Model, I found on Product Model the methods that can retrieve this information in the current language and currency set. I build a simple loop that catches all the products ID: $command = 'GetProducts'; $productgroupid = 12; $postData = array( 'gid' => $productgroupid, ); $results = localAPI($command, $postData); $productsId = array(); foreach ($results['products']['product'] as $product) { $productsId[] = $product['pid']; } After this, I passed this products ID's to Product Model to get the information that I need: foreach ($productsId as $key => $value) { $products[$key] = [ 'name' => Product::find($value)->getNameAttribute(), 'description' => Product::find($value)->getDescriptionAttribute(), 'price' => Product::find($value)->pricing(), ]; } This works perfectly well, but the princing() method return only the default currency. I make a test outside the loop to get only one product and tested with different currencies, and the result is that what I expected: $userid = (isset($_SESSION['uid']) ? $_SESSION['uid'] : ""); $currencyid = (isset($_SESSION['currency']) ? $_SESSION['currency'] : ""); // $currencyid = 5; $currency = getCurrency($userid, $currencyid); var_dump($currency); var_dump(Product::find(1))->pricing(); (I have try without the currency variable, and after this passing the ID of currency, and the both cases works good) Only on the loop the princig() method do not retrieve the correct currency. I'm making a mistake in the loop that is not allowing the currency to recover properly?
  12. bellafronte

    Service testing!

    Hello @Ilario42 I think you can configure a product with Auto Terminate/Fixed Term: Products and Services Documentation
  13. Google Analytics Enhanced E-commerce for WHMCS implement Universal Analytics Enhanced E-commerce features using Google Tag Manager on WHMCS. With this module, you now can track all orders in Google Analytics and Goals Conversion. Optimize your Adwords Campaigns with information about sales orders, revenue, CPA and more! Google Analytics Enhanced E-commerce enables product impression, promotion, and sales data to be sent to Google Analytics. Track Page Views, Events, and Actions on all WHMCS pages. Track the order funnel and revenue, abandoned checkout process, generate page value and improve the data analysis of your audience. Find out into WHMCS Marketplace list, https://marketplace.whmcs.com/product/3118 See our presentation video here. Main Features The Google Analytics Enhanced E-commerce for WHMCS allows you to analyze purchase activity on your WHMCS. Now you can collect product and transaction information, average order value, e-commerce conversion rate, time to purchase, and other information such as: Track Transactions Track Products adds to Cart Track Products removed from Cart (coming soon) Track Checkout and Purchase Funnel Track Shopping Behavior Track Checkout Behavior Track Product Performance: Product Revenue Unique Product Purchases Avg. Price Product Refund (coming soon) Track Sales Performance: Revenue per Transaction Tax paid per Transaction Refund Amount (coming soon) Track Marketing Promotions: Coupons Usage per Order Coupons Usage per Product (coming soon) Internal Promotion (coming soon) Affiliate Code (coming soon) Google Analytics Enhanced E-commerce for WHMCS lets you see the overall state of the performance of your WHMCS, and provides the ability to enable three categories of related metrics on: Shopping Behavior Analysis The Shopping Behavior Analysis report lets you see the number of sessions that included each stage of your purchase funnel, how many sessions continued from one step to the next, and how many abandoned the funnel at each stage. You can evaluate your users' shopping experience from product impression to transaction. Checkout Behavior Analysis The Checkout Behavior Analysis report lets you see how successfully your users moved through your checkout process. The checkout-funnel visualization illustrates how many users moved from one step to the next, how many abandoned the process at each step, and how many entered the process at each step. Product Performance The Product Performance report lets you see how your products performed from two different points of view. Sales Performance The Sales Performance report lets you evaluate sales dimensions and report metrics per sale. Order Coupon The Order Coupon report lets you see how your order-level coupons performed. Domains Purchases and TLD's Whit Google Analytics Enhanced E-commerce for WHMCS you can keep your digital strategy improved tracking the domains purchases and renews. Generate analysis on Google Analytics with the most orders TLD's and more! Events and Behavior Keep track the user Events on checkout funnel. See all events steps involved in a transaction such as: Product Impressions: Track Products Impression when a Product Group is visited. Product Details: Track events when the product have configuration options or additional modules Add to Cart: Trigger an event when a product is added to shopping cart. Checkout: Track any event on registration and payment process. Purchase: Collect all data of the order and push to Google Analytics. Multi-currency Support This module supports multi-currency orders. You can track any currency used on your orders. You can purchase this module on WHMCS Marketplace, https://marketplace.whmcs.com/product/3118
  14. Hello folks, I recommend the Google Analytics Enhanced Ecommerce for WHMCS to implement Universal Analytics and Enhanced E-commerce features using Google Tag Manager on WHMCS.
  15. Hello folks, I'm trying to retrieve shopping cart items in the ShoppingCartViewCartOutput hook, the documentation informs the cartData parameter, but it only has the array with the ID of the products in the cart. I need to retrieve all the cart data, such as product name, quantity, value, payment cycle, currency and the total value of the cart in ShoppingCartViewCartOutput hook. I tried to retrieve the data through $ _SESSION and the $ _GLOBAL variable but both have the same information as $cartData. Does WHMCS have a way to retrieve all the information from the cart at this point in the hook ShoppingCartViewCartOutput?

Important Information

By using this site, you agree to our Terms of Use & Guidelines