Jump to content

ayz1

Member
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by ayz1

  1. Yes it was never going to be that easy. I've tried a few different ways to get it to work. It is a required field in the database and I switched that off. I turned off recapcha and still no joy so like you said there is something else going on somewhere. Hopefully someone with more knowledge than me will have a solution for you.

    I removed

        $.validator.addMethod("phone", function(phone, element) {
            phone = phone.replace(/\s+/g, "");
            return this.optional(element) || phone.match(/^[0-9-+()]+$/);
        }, $('#validate_phone').text());
        $.extend(jQuery.validator.messages, {
            required: $('#validate_field_required').text()
        });

    from the js/3.cubecart.validate.js file and it allowed registration without a phone number.

    Don't know if it has any other implications anywhere but it seems to work.

  2. you could try

    <div class="row">
          <div class="small-12 large-8 columns"><label for="phone" class="show-for-medium-up">{$LANG.address.phone}</label><input type="text" name="phone" id="phone"  value="{$DATA.phone}" placeholder="{$LANG.address.phone}"></div>
       </div>

  3. If you have added the script between the <head and </head> tags in the main.php file then it should appear on every page. If not only thing I can think is that it's maybe a chaching issue.

    I've had a look at your website and the script is on the product pages.

    Can see what you mean now. Although the script is there the ad isn't showing on the product pages.

     

  4. The coupon info is stored in the CubeCart_coupons table in your store database. Don't know why they aren't visible but I would guess if you want to stop a code being used you could delete the relevant code record from the coupons table. Always back up your database before editing it.

  5. I think that code just sets the button to active, dont think it makes the layout change. I tried changing that last night myself and it didn't change the layout at all. Below that there appears to be two blocks of code one for the list view and one for the grid view. I think these might be the other way around in the Galaxy skin (hard to tell not having a copy). Maybe using the code from an appropriate foundation skin might be worth trying. The foundation skin on the cubecart demo defaults to list view whereas the Galaxy demo defaults to grid view.

  6. In the help it states

    Linked Account: Allows your admin account to be linked to an account on the front end. To add an account, just type in the name and the auto-search will list applicable account names.

    Why I do not know.

×
×
  • Create New...