Jump to content

Gift card value field missing


swim426

Recommended Posts

This is my first post so I apologize if I'm in the wrong spot or misunderstanding something
I made a gift card for our store and it worked yesterday, I was able to purchase a gift card for 10 dollars and send it to myself.
Today I had a customer try to buy a gift card but the option to pick a value is gone and I cant get it to show on the website.

Link to comment
Share on other sites

This is a known bug starting with CC6410, and will be fixed in CC652.

See:

https://github.com/cubecart/v6/issues/3316

In the Foundation skin template content.certificates.php, lines 15-20:

From:

  {if !empty($GC.image)}
  <div class="row">
    <div class="small-12"><img src="{$GC.image}"  alt="{if isset($GC.image_tags.alt)}{$GC.image_tags.alt}{else}{$LANG.catalogue.gift_certificates}{/if}"{if isset($GC.image_tags.title)} title="{$GC.image_tags.title}"{/if} /></div>
  </div>
  <div class="row"><div class="small-12 large-8 columns"><label for="gc-value">{$LANG.common.value} ({$CONFIG.default_currency})</label><input type="text" name="gc[value]" id="gc-value" value="{$POST.value}" placeholder="{$LANG.common.value} {$LANG.form.required}" required></div></div>
  {/if}


To:
	{if !empty($GC.image)}
  	<div class="row">
		<div class="small-12"><img src="{$GC.image}"  alt="{if isset($GC.image_tags.alt)}{$GC.image_tags.alt}{else}{$LANG.catalogue.gift_certificates}{/if}"{if isset($GC.image_tags.title)} title="{$GC.image_tags.title}"{/if} /></div>
	</div>
	{/if}
	<div class="row"><div class="small-12 large-8 columns"><label for="gc-value">{$LANG.common.value} ({$CONFIG.default_currency})</label><input type="text" name="gc[value]" id="gc-value" value="{$POST.value}" placeholder="{$LANG.common.value} {$LANG.form.required}" required></div></div>

 

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.

×
×
  • Create New...