Posts by nikpixels

    Right guys... is there anyway I can edit the country list ? <perch:shop id="country_list" />

    We want to restrict customers to just the UK (Just had the first foreign customer in 2.5 years so not doing too bad)

    Basically, want to leave the drop down set with just United Kingdom and no other options as the shop won't ship outside the UK


    The below is how I'm showing the country list on the customer_create.html

    <perch:input type="select" options="<perch:shop id="country_list" />" value="236" id="country" label="Country" />

    Hi All


    Think I know already what the answer to this will be but I thought I'd check in with the hive mind first.


    I have a booking form on an already live site for an optician. The site visitor selects the preferred day they want their appointment and then can select a time and a preferred shop (there are two currently). The customer wants to be able to offer slightly different times for when they select different days e.g the Optician opens late until 7 on mondays at one shop and until 7 on tuesdays at a different shop... so if the customer selects monday and shop A, they can choose a different set of times.

    Pretty sure this is going to be out of the scope of the Forms app and I may need to re-do this with some custom code


    Here's my template code currently


    Any help would be greatly appreciated as I would like to keep using the forms app to process this particular form if possible.

    thanks


    Nik

    Yeah, completely odd. I'm at a loss to work it out as there doesn't appear to be any reason for it... even tried changing the input type to text rather than number, but with the same result.


    I'll have another mess about with it... hope I figure something out

    Having looked at the lines of code, you can't see anything wrong with it can you?

    Hi Drew


    Yeah, It's happening now, I've been testing it and I can't input a custom quantity value either.


    I've even re-uploaded an archived version on the template in case it had gotten corrupted in some way.

    Next idea is to maybe update Perch to V3 and update the shop app... but can't guarantee this would fix the problem, especially as nothing has actually changed since launch.

    Hi All


    I have a perch shop install which has been working absolutely perfectly since september 2017.

    Suddenly last week, we started getting complaints that the quantity selection on the product pages (product.html) wasn't accepting user selected quantites. Nothing has changed on the site, no updates to anything.

    Just wondered if anyone had any ideas as to potential what has happened and what I could try to fix it.

    heres the code on the product.html page


    Code
    1. <perch:input type="number" id="qty" name="quantity" value="1" class="field">


    Here's the code on the cart.html page


    Code
    1. <td class="qty"><perch:input id="qty:<perch:cartitem id="identifier" />" value="<perch:cartitem id="quantity" />" type="number" min="0" /></td>


    I'm actually starting to wonder whether this ever worked correctly... though I'm positive it did as it's been online since 2017 with no issues

    Running PHP 7.2 (though has been tried at PHP 5.6 and PHP 7)
    Final perch version 2.8.34
    Shop version 1.0.12

    Thanks in advance

    Nik