Jump to content

Cart and Invoice Modifications


jet88

Recommended Posts

Hi All,

 

First time posting in here.

 

I have 2 questions.

 

1.) To modify the cart for Yes/No How do I remove the options from the side in the screen shot. In WHMCS is there a setting or does this need to be hardcoded?

 

2.) How do I change the location of the business shown in screen shot?

 

Attachments are below

 

Please let me know if any other information needed.

 

Thanks in advance

2016-09-08_5-40-12wh.png

2016-09-08_5-42-14whm.png

Link to comment
Share on other sites

Hello there,

 

With regards to 2. it looks like you're using the Flex Mail email template which I developed. You can edit this in:

 

WHMCS admin > setup > general settings > mail > global footer setting:

 

					{if $company_name}<strong>{$company_name}</strong><br />{/if}
					2 street name,<br />
					Town<br />
					City<br />
					County<br />
					Country<br />
					ME7 5BD

 

I'd also recommend editing your social profile URLs in this same box.

 

Regards,

Jack

Link to comment
Share on other sites

With regards to 2. it looks like you're using the Flex Mail email template which I developed.

aah - that explains why I didn't recognise the screenshot! :)

 

1.) To modify the cart for Yes/No How do I remove the options from the side in the screen shot. In WHMCS is there a setting or does this need to be hardcoded?

if you want to remove 0.00 configurable options from the order summary, you'd need to edit templates/orderforms/standard_cart (or your custom cart template)/ordersummary.tpl and change...

 

{if $configoption}

to...

 

{if $configoption.recurring neq "{$currency.prefix}0.00{$currency.suffix}"}

https://forum.whmcs.com/showthread.php?113055-Hidden-Configurable-Options&p=458815#post458815

 

if you want to just remove configurable options where the values are "No" (i'm assuming unticked checkboxes?), then you'd need to change it to...

 

{if $configoption.type neq '3' or $configoption.optionname eq 'Yes'}

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