Jump to content

Displaying Product when direct link is used


wizzy420

Recommended Posts

I am building a website where the "order now" buttons link directly to the "Direct Shopping Cart Link"

 

This is the only way to order. All products are "hidden" and can only be picked via the main website, not the WHMCS portal.

 

The problem I have is when people are directed to the page, it drops them straight into the shopping cart / product configuration page with no acknowledgment or reference as to what they are ordering.

 

Is there any way to make it so the page they are directed to says something about the type of account they have just selected to sign up for?

 

It would be great to have a line under/above "Product Configuration" that showed what it is they selected. Now it just seems to leave you hanging as to what you are signing up for.

 

Steve

Link to comment
Share on other sites

  • 2 months later...

What I did was to include something like this in the proper template:

{if $productinfo.pid != ""}You chose the <strong>{$productinfo.name}</strong><br />{/if}

{if $productinfo.pid != ""}{$productinfo.description}{/if}

This should take the package ordered and display it in the page along with the description.

Link to comment
Share on other sites

  • 2 months later...
What I did was to include something like this in the proper template:

 

This should take the package ordered and display it in the page along with the description.

 

Bear, does this work to you on WHMCS v3.61?

I have put your code in configureproductdomain.tpl, but nothing happens. Is correct what I am doing?

Thank you

Link to comment
Share on other sites

Domains are not the same as "products", so you'd need to experiment with the variables that deal with domain purchases. As a wild guess (and untested):

{if $incartdomains != ""}Your domain is <strong>{$cartproductdomainuseincart}</strong><br />{/if}

Link to comment
Share on other sites

Thank you Bear for your fast answer.

Shure, you are right on making a difference between a product and a domain, but I am trying your code here:

http://www.hostingkings.net/planes.html

at page bottom you´ll find five carts which link with my WHMCS cart.

There is where I am puting the code in configureproductdomain.tpl and nothing is happening.

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