Jump to content

fettlebox

Member
  • Posts

    213
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by fettlebox

  1. Yes, this 511. I upgraded maybe a week to ten days ago.

    
    // Validate email if email delivery
    
       if (strtolower($_POST['gc']['method']) == 'e' && !filter_var($_POST['gc']['email'], FILTER_VALIDATE_EMAIL)) {
    
        $GLOBALS['gui']->setError($GLOBALS['language']->catalogue['error_gc_email']);
    
        $error = true;
    
       }
    
       if (!$error) {
    
        $GLOBALS['cart']->add($gc['product_code'], $_POST['gc']);
    
       } else {
    
        $GLOBALS['smarty']->assign('POST', $_POST['gc']);
    
       }
    
      }
    
      $GLOBALS['smarty']->assign('LANG_CERT_VALUES', sprintf($GLOBALS['language']->catalogue['gift_certificate_value'], $GLOBALS['tax']->priceFormat($gc['min'], true, true), $GLOBALS['tax']->priceFormat($gc['max'], true, true, $gc['expires'])));
    
      $ctrl_allow_purchase = ($GLOBALS['session']->get('hide_prices')) ? false : true;
    
      $GLOBALS['smarty']->assign('ctrl_allow_purchase', $ctrl_allow_purchase);
    
      $GLOBALS['smarty']->assign('GC', $gc);
    
      $content = $GLOBALS['smarty']->fetch('templates/content.certificates.php');
    
      $GLOBALS['smarty']->assign('SECTION_NAME', 'giftcertificate');
    
      $GLOBALS['smarty']->assign('PAGE_CONTENT', $content);
    
    

  2. OK

    As per 1 above I have copied & pasted that as the language string.

    Same with 2. The site then returns an entirely blank page in Firefox/Ubuntu - in IE/XP it returns a 500 error.

    There's one less closed bracket in the line 713 code in the 2nd snippet when compared to the first. If I add the third ) the site comes back but with no info on the gift certificate page about value, time or currency.

  3. I've just set up gift certificates on my shop & done a test purchase.

    I have them set to be valid for 18 months but would like the purchaser & recipient to be aware.

    Can anyone please tell me how to add this info to the product info & recipients email as the certificate expiry date doesn't currently show.

  4. My store is currently closed for development & instead of showing the message I've set it's showing:

    v+�)^~��}���(��"jǫ��^�֥� �z{^��-�W��{l�7��R��ފ�.������׫u�ޖ�fz{��-�W��{l�7��O��z�֠j)좉���b��۲

    I've made no changes & it worked ok to start with.

    Any ideas please?

  5. Thanks - the documentation I can find seems a little vague. Can the coupons give a percentage discount or just a set-price reduction? I'm happy enough to post it in a private forum & change the code from time to time. Groups would be useful for trade sales.

  6. I have a forum where I offer my products for sale in the classifieds sections at a discount to members. I want to replace my listings with a discount code so the forum members can use the code on my cubecart store & get their discount there.

    Is this possible with Cubecart v5 as standard or via mod?

    Thanks

  7. Hi,

    I'm currently running the free version of V5 while I set up my store.

    In the admin panel I have a box that flys out from the rhs when moused over for customer/order/product searches. It getting in the way of me populating my store & I can't find any way to switch it off. Is this just a feature of the free version I'll loose when I upgrade or is there a way I can get rid of it?

    Many thanks

×
×
  • Create New...