Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Oct 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: How to bypass categories page?

    I found the solution if anybody needs it for future this is one way you can skip the categories page.

    goto $content .= $li_class; in this file
    /wtdepot/includes/templates/theme296/sideboxes/tpl_categories.php

    right before that line add following codes
    $den=$box_categories_array[$i]['path'];
    if (!strpos($den,"_")) {
    $a=substr($den,strpos($den,"=")+1);
    $a=$a+1;
    $den .='_'.$a;
    $box_categories_array[$i]['path']=$den;}

    You are done.

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: How to bypass categories page?

    So what you are doing is testing for a top category, and if it is top, adding one to the category id and adding the result as a subcategory id to the cPath in the link.

    This will work for any top cat whose first subcat id immediately follows the top cat id, but will fail if the first subcat has any other id, or if there is no subcat for a given top cat.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 How do I bypass GoDaddy's landing page?
    By mespe in forum General Questions
    Replies: 15
    Last Post: 30 May 2016, 02:07 AM
  2. How do I bypass this checkout page?
    By r1formetoo in forum General Questions
    Replies: 11
    Last Post: 18 Sep 2013, 06:20 PM
  3. How can I bypass the checkout_shipping page?
    By remyrulez in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 24 May 2011, 09:53 PM
  4. How can I bypass the shipping page?
    By VCSharpin in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Jun 2008, 01:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg