ColinRood Beginner

  • Male
  • from Louth, Lincolnshire
  • Member since May 8th 2019
  • Last Activity:
Posts
18
Points
115
Profile Hits
198
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Here is the debug message

    0 recover(): "> [1] SELECT u.*, r.* FROM perch3_users u, perch3_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='fa130d5b2d8da6a4a064a071485f0884'
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Hi

    Thanks for the reply and explaining the logic. I have moved the perch:noresults to the product list template.

    My results now are:
    category (with no sub cat) > products list > the product page - working
    category (with sub cat) > subcategory list >…
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Hi Hussein

    I do not get a PHP error, so I get the body top/bottom etc but no product list.

    The template:
    (Code, 10 lines)


    The debug Message:
    (Code, 41 lines)

    Thanks for any help.
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Hi
    I now have this almost working.
    Using routes:
    sub-category/[slug:path]
    sub-category/[slug/slug:path]
    on my sub-category master page:

    (Code, 16 lines)

    So click any top level link and then…
    category (with no sub cat) > products list > the product page…
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Hi Hussein
    I am using Runway
    Thanks
  • ColinRood

    Replied to the thread Sub Category Runway and Shop.
    Post
    Hi Hussein

    Thank you for your reply. I have been trying to get this to work with my limited PHP knowledge.

    If I hard code the $catPath = 'products/shoes/'; then I can get this to work. My knowledge falls short of being able to get the path from the…
  • ColinRood

    Posted the thread Sub Category Runway and Shop.
    Thread
    Hi all
    I am having some difficulties with understanding how to achieve listing the sub-categories linked from one top category.
    What I have working so far
    1) I have all of my top level [0] only categories listed using
    (Code, 8 lines)

    In the template I…
  • ColinRood

    Post
    Thanks for the comments.

    I agree in some cases that might be all that is needed, but I have an Orders History page where a past order can be viewed so would need to be printed or saved as a PDF.

    I will look into mpdf next.
    Thanks
  • ColinRood

    Thread
    Hi
    I have been building a Runway site using the shop.app and am looking into how to generate PDF's of the order for the customer to download/print.
    I found 'pdfmake' which seems to fit the bill but before getting into the learning curve, can anyone else…
  • ColinRood

    Post
    Hi

    Having hidden the billing address from the template order_address_form.html

    I cannot make the default billing address to be always the correct address if another address has been added, as this may be the first in the list shown.

    How can I get the…
  • ColinRood

    Post
    Hi hus_hmd

    Thanks for your reply.

    I have tried your suggestion, but I am running into difficulties.

    The issue is that if, for example, a customer has 3 addresses in the address book, which have not been set, the perch_shop_order_address_form( )…