How to add domain to the cart in whmcs via hook or api - whmcs

We are planning to post the domain name like example.com, that need to be automatically added to the cart. While we going to the register page or home page in whmcs.
Please let me know, how to fix the issue. If anyone already did like that, please share your knowledge. Thanks.

You can use this URL:
http://demo.whmcs.com/cart.php?a=add&domain=register&domains[]=typeyourdomainhere.com&domainsregperiod[typeyourdomainhere.com]=1
Source: WHMCS Forums

Related

Unable to access direct routes in vuejs

I just have deployed a VUEJS project to my Cpanel and have configured it with a subdomain as
https://web-dev.mydomain.xyz
it is working fine when I try to access through the exact domain name like
https://web-dev.mydomain.xyz
But when I try to directly access some routes like
https://web-dev.mydomain.xyz/posts?page_1
Then its returns page not found an error. So that I cannot share a specific page with anyone.
What I am doing wrong?
if the issue is at the VUEJS side or this is due to some misconfiguration of the project at the deployment server?
thanks in advance
This is a common issue. Your server needs to be configured to serve the application at that route.
Please read HTML5 History Mode documentation for more information.

Opencart admin panel not accessible

Since I installed a SSL certificate on my website, the admin panel is not accessible.
It´s actually because I cannot click the login button.
https://www.umweltfreunde.com/admin/
Thanks a lot for helping me fix this.
Razvan
It is because on your site, the base URL is not https. Currently it is as in the screenshot below:
Please make changes in your admin header file to change the base URL to HTTPS.

I purchased ssl from godaddy but domain url redirection have issue

i dont know whats wrong with my settings .i am using opencart 2.3.0.2 .Enabled ssl from settings of my cms.
when i run
https:sharishari.com
it works fine.
i want when i or any one enter my domain name sharishari.com it should redirect to https:sharishari.com
each time i have to write complete url with https to go on https.
and second thing its view is non responsive and non functional when i write
sharishari+ctrl Enter .
here is my
root config file
i removed www from the domain
and admin
config file
https://codeshare.io/2pAlLV
i just shared the above part .db part excluded in sharing
Please i will be very thankful if somebody sort out my problem.best regards
After enabling SSL from your open cart backed, first of all, you will have to update your config files for both catalog and admin. You will have to edit link as "https".
Apart from that, you will have to edit your links provided on header.tpl. Just find and replace all 'http' to 'https'. You can find header.tpl at catalog/view/theme/themename/common/header.tpl
Hope that helps.
You need to change in both
config.php
admin/config.php
to https:
also go to your catalog/view/thene/YOURTHEME/common/header.tpl
And their all of your scripts, css files and so forth to https
And easy way to find them do a ctrl+f search on http and you will find the,
If you have any custom code like social media links, you need to change them to https aswell.
OK you need to redirect to HTTPS (opencart does not do this when enabling SSL) and you need to edit your theme header file, see Innervisions comment
Opencart only switches to SSL on checkout, account, login, etc pages.

Is it possible to do redirects in Shopify with wildcards?

We want to be able to do something like allow a user to type "website.com/0431", where 0431 corresponds to a specific products manual and redirects to it. Is this possible with Shopify?
As of June 2022, you can indeed set up wildcard redirects in your Shopify store at the {your-shop}.myshopify.com/admin/redirects (or under Online Store > Navigation > View URL redirects).
The syntax for Redirect from: /support/*
The syntax for Redirect to: https://support.domain.com/global-search/*
No. It is not possible to do wildcard redirects in Shopify Admin.
Not with the built in redirects tool.
There are Shopify apps for that. I tried a couple of the top hits but there are no free ones.
From the Shopify help center:
If you want to create a lot of redirects, you can simplify this process using an app.
Source:
Redirects documentation at Shopify help center
While there are redirect capabilities in Shopify, you currently cannot do wildcard redirects (as of Mar 2018)
You can set up redirects in Shopify. There is a redirect setup mechanism built right into the Admin. Online Store -> Navigation -> URL Redirects.

Tracking clicks on outbound links

I have a website based on wordpress. I want to implement a click tracking system on some of external links. Is there any method of doing so without using any external website or google analytic s.
Can't i call some external php script to run when the link is clicked and keep incrementing a variable everytime.
Please help . Thanks in advance
You can link to a script that tracks redirects and redirects the user.
outbound link
UPDATE: Don't forget to redirect with the status 301 to preserve the PageRank value added to the linked site.