Welcome, Guest
Username: Password: Remember me

TOPIC: CM GiftCard Issue

CM GiftCard Issue 4 years 2 weeks ago #3883

  • crfprint
  • crfprint's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hello - we have installed the CM Gift Card and have an issue where the page flickers when filling out the form. A green bar displays when hovering over a field and it cause the page to slightly licker up or down.

golfshack.com/new/index.php?option=com_c...w=form&type=physical
The administrator has disabled public write access.

CM GiftCard Issue 4 years 2 weeks ago #3884

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1636
  • Thank you received: 245
  • Karma: 27
Hi,

CMGiftCard uses Joomla's tooltip in form, you can see the tooltip of every form field by hovering over the field's label. Your template seems trying to disable Joomla's tooltip, I don't see tooltip's JavaScript code on the page, and this is the reason of your problem.

You can try remove the tooltips from CMGiftCard by editing cart.xml and form.xml in components/com_cmgiftcard/models/forms folder, you remove the "description" attribute of every field in the files, if a field doesn't have "description" attribute tooltip is disabled for that field.

Regards,
Hung
The administrator has disabled public write access.

CM GiftCard Issue 4 years 1 week ago #3885

  • crfprint
  • crfprint's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hello - that worked great, thank you. One other question, since we only give the user 1 payment option (PayPal) - is it possible to remove the radio button on the checkout page and still have it default to PayPal?
The administrator has disabled public write access.

CM GiftCard Issue 4 years 1 week ago #3886

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1636
  • Thank you received: 245
  • Karma: 27
Hi,

The only way to do that is customizing the code.

In components/com_cmgiftcard/models/forms/cart.xml you delete the "payment_method" fieldset.

In components/com_cmgiftcard/controllers/cart.php you add the following line
$validData['payment_method'] = 'paypal';

above the line 252

JTable::addIncludePath(JPATH_COMPONENT . '/tables');

to force to use PayPal.

Regards,
Hung
Last Edit: 4 years 4 days ago by hungtran.
The administrator has disabled public write access.

CM GiftCard Issue 4 years 1 week ago #3887

  • crfprint
  • crfprint's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hello - I made those 2 changes in the code but when I click the Checkout button nothing happens
The administrator has disabled public write access.

CM GiftCard Issue 4 years 1 week ago #3888

  • hungtran
  • hungtran's Avatar
  • Offline
  • Moderator
  • Posts: 1636
  • Thank you received: 245
  • Karma: 27
Hi,

Did it work before the changes? Do you have any errors from the form?

Regards,
Hung
The administrator has disabled public write access.