Posts by ndwl

    Do you not need a template in your nav declaration e.g.

    1. <?php perch_pages_navigation(array(
    2. 'navgroup' =>'fund-raising-menu',
    3. 'template' => 'side_fund-raising-menu.html',
    4. 'levels' => 1
    5. )); ?>


    1. <perch:before><ul></perch:before>
    2.     <li <perch:if exists="current_page"> class="selected"</perch:if>>
    3.         <a href="<perch:if exists="current_page">#<perch:else /><perch:pages id="pagePath" /></perch:if>">
    4.         <perch:pages id="pageNavText" /></a>
    5.         <perch:pages id="subitems" encode="false" />
    6.     </li>
    7. <perch:after></ul></perch:after>

    George, that's great news… but we've endured two years of "watch this space!" followed by radio silence. A roadmap or timeline or some indication of intent would be more constructive and allow us to plan how we move our own businesses forward and whether Perch still plays a part in those plans.

    Don’t be put off from using shop. I’m primarily a designer rather than a developer so if I can put together a fully functioning “shop” then I’m pretty sure anyone can! I’m not saying it was straightforward, however, in reality, it was really no different to using any other aspect of perch with the exception of there being way less documentation and virtually no examples. That said I probably would have given up too had it not been for information gleaned from this forum, and the help and support from Perchology Slack channel community. Yes, there are some irritations and yes it lacks some of the niceties that a more fully developed solution may have, but released into the wild it seems pretty solid and has been running for a year without a hitch. For me, the biggest plus is that you can make it you’re own, fully integrate it with rest of your site’s look and feel without having to make any design compromises with the added bonus of no additional costs. So, I would recommend perseverance, you will be rewarded in the end, and to Perch’s new owners I urge you not to give up on “shop” but to invest some development into releasing its full potential.

    Personally, I think that the Shop app does do all of the above, but has suffered (along with the rest of Perch) from a lack of development. It's basically still a v1 release. The focus should be on addressing the problems and limitations of the 1st party apps and developing v2 that matches or ideally betters SnipCart.

    James, I feel your pain. The lack of member management (along with that of orders in "shop") is a serious deficiency of those add-ons and requires a serious rethink. An approach along the same lines as Hussein (@hus_hmd) took with "Catalog" - his reworking of "product" management would be a start

    Shop is a great add-on for perch, however, it is seriously lacking in the area of member/customer management. Any moderately successful shop can quickly have hundreds of members and along with them hundreds of orders. However searching through these lists one page at a time to find a specific person or order - to check details or change the status - is excruciating. Being able to search by Order number or a customers last name or email address would be a massive improvement. Making sure the lists sort (ascending/descending) correctly would also help. Even being able to jump to a specific page within the pagination would be a big step forward as would making the signup of members more robust to cut out all the spam registration that get through.


    I've added "spec_min" to the product template there is a (perch) "min_qty" in the variants template. As all the variants will have the same min_qty I thought setting for the product would mean that I wouldn't have to swap it out depending on which variant was selected.

    I'm pretty new to this side of perch so please excuse the dumb questions… but when you say print out the array, how do I do that?

    So I have…

    Should I now be able to use <perch:content id="spec_min"> to display the value of "spec_min" within the namespace "productvalues" or have I misunderstood. Also when I use…

    1. <?php print_r(PerchSystem::get_vars()); ?>

    To see if the value of "spec_min" has been set, nothing is displayed. I was using this to see if the variable was being set

    How do you use getElementById in javascript with ids that get appended by a perch identifier?

    E.g in "shop's" cart the product quantity input field gets appended with a unique identifier (number) for the product .

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

    For processing purposes, the units of qty are CM (Centimetres) but I need to show the qty to the user in M (metres), so I need to apply a conversion to the value of this input (which will be hidden) and display the result in another input (qty_m - which will need to be paired with qty by sharing that same identifier). To do the conversion I was hoping to get the value of qty by using getElementById however the ID isn't qty it actually be qty:# (unique to each cart item)

    I have three product options that a user can buy/select; sample, a returnable sample and a length of fabric. If the user selects to buy a length of fabric they can enter the length required in a input field next to the radio button, this is not a perch generated input field just a standard hand-coded one. I'd like to fill the "placeholder=" and "min=" attributes with the value of the minimum order quantity for the product. This value is available in the perch:shop namespace but when I use <perch:shop id="spec_min"> nothing is inserted. Any thoughts as to what I'm doing wrong or is this something that simply can't be done?

    Anyone know how to add custom css to the embedded strip form, I'd like to make the imput fields match the look and feel of the other forms on the site.

    Within the form tags of the embedded form there is a set of empty <style> tags how can I populate this with my custom styles? Any thoughts much appreciated.