Customise Hostbill order templates

Started by Fusionhost, June 13, 2014, 04:40:36 PM

Fusionhost

Hi,

I created a support ticket with Hostbill regarding customising their templates and I've run into a few issues and Hostbill are refusing to help!!

So, I'm hoping the Hostbill community can help me!

I have edited Hostbill's templates and they look like following:

Shared hosting - https://www.fusionhost.co.uk/cart/shared-hosting/    [Four comparison boxes, One-step]
Reseller Hosting - https://www.fusionhost.co.uk/cart/reseller-hosting/  [Four comparison boxes, One-step]
Cloud - https://www.fusionhost.co.uk/cart/cloud/                               [One-step checkout slider, hand-drawn]
VPN - https://www.fusionhost.co.uk/cart/virtual-pirvate-network/         [One-step checkout slider, hand-drawn]

I am having a few unexpected issues that I did not foresee.

Reseller page:

The admin GUI for the reseller page is no longer dynamic (see attached screenshot), apparently this is due to the .yml files?  Is this correct?  I have searched high and low and cannot find the yml files.

Do you know where are the yml files kept?  As a small edit will apparently fix this....

Edit  Found them /orderpages/config/

Cloud/VPN:

Once a selection is dragged/clicked on the remaining additional boxes vanish.  But I have no idea why?  Suggestions?

Also while trying to add additional services to cloud/vpn such as I.P addresses the admin GUI automatically reloads without giving me time to add anything!

Any help, suggestions or ideas would be extremely helpful!!!!!

Kind Regards,
Jon
fusionhost - www.fusionhost.co.uk
Leading British Cloud Web Hosting Provider

mojoc

I can't figure out how to use a custom order page template.  I've tried copying one of the existing order pages and modifying it, but can't get it to show up as an option in the order page itself. 

I'm missing something, aside from creating the template, how do you make it active?

mojoc

Ok, scratch that.  I got it figured out.  For those who don't know, the filenames are used in the order page selection process.  The "onestep" in onestep_design27 tells hb that this is a onestep order page.  It seems that the prefix is the only way to let hb know it's a separate page.

Of course, then copying and modifying the pertinent files is the next step.  In my case, I wanted a onestep page (so my direct cart links would work) that didn't show my client any options (just what the product was built with).  I copied onestep_design27.tpl and ajax.onestep_design27.tpl and the onestep_design27 directory to onestep_myname... and modified those templates to suit my needs.

Mojo