Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36
  1. #21
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,541
    Plugin Contributions
    19

    Default Re: Exclude category from also purchased?

    What do you mean "are not being rewritten"? The link takes you to /login and not /index.php?main_page=login - or did you hard code the links?

    It seems like you should reset SSU cache. I think you're mixing it's cache from two different shops since you obviously have some URLs with cPath showing and some without (your dev site probably doesn't have Alias turned on). Anyway, try resetting SSU cache first. If that doesn't do the trick, set SSU status to false and remove the .htaccess file from the root (or rename it to htaccess.old) and try again. It seems you're simply missing something because SSU works fine:
    http://dev.perfectlocks.com/wavy-indian-hair-c-116_122

  2. #22
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Exclude category from also purchased?

    Ahhh, thank you very much. I have a correctly loading page without SSU now. Here is a product:

    http://dev.perfectlocks.com/virgin-i...ir-weave-p-222

    You can see that a 12" Straight Hand Tied Weft (Virgin Medium Brown) product is in the Also purchased mod. The product is from this category http://dev.perfectlocks.com/discount-weaves-c-70_76 which I do have excluded in tpl_modules_also_purchased_products.php by adding the code here:

    Code:
    <?php if ($zc_show_also_purchased == true && ($current_category_id != '71' && $current_category_id != '72' && $current_category_id != '75' && $current_category_id != '76') ) { ?>
    Maybe now we can get to the root of the problem, thanks so much for your persistence in helping me!

  3. #23
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Exclude category from also purchased?

    Are you saying that you do NOT want the Also Purchased to show on this product:
    http://dev.perfectlocks.com/virgin-i...ir-weave-p-222

    Or are you say it IS working on products like:
    http://dev.perfectlocks.com/discount...et-black-m-558
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #24
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Exclude category from also purchased?

    What I am saying is that I do not want any products from this category:
    http://dev.perfectlocks.com/clearance-rack-c-70

    or subcategories:
    http://dev.perfectlocks.com/discount-bulk-hair-c-70_72
    http://dev.perfectlocks.com/discount-clip-ons-c-70_75
    http://dev.perfectlocks.com/discount...n-hair-c-70_71
    http://dev.perfectlocks.com/discount-weaves-c-70_76

    I do not want any of those products to appear on my normal product pages like this one:
    http://dev.perfectlocks.com/virgin-i...ir-weave-p-222

    This product is showing up on the above product page in "also purchased"... I do not want this:
    http://dev.perfectlocks.com/discount...um-brown-m-574

  5. #25
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Exclude category from also purchased?

    If you look in categories_id 70 in your Zen Cart Admin, does it contain *only* subcategories or both Categories and Products?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #26
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Exclude category from also purchased?

    Only the subcategories, no products directly under the category.

  7. #27
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Exclude category from also purchased?

    Okay so you are trying to block the actual Products from the Also Purchased from showing on other Products that they were purchased from if they are in these 4 categories, correct?

    If so, are these 4 categories of Products using these 4 categories_id numbers as their master_categories_id for the Products that should not show?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #28
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Exclude category from also purchased?

    To answer your first question, yes I believe.

    To answer the second question, I believe it's no. The following subcats are in master category 70:
    http://dev.perfectlocks.com/discount-bulk-hair-c-70_72
    http://dev.perfectlocks.com/discount-clip-ons-c-70_75
    http://dev.perfectlocks.com/discount...n-hair-c-70_71
    http://dev.perfectlocks.com/discount-weaves-c-70_76

    I do not have these subcategories in any other master_categories_id except 70, which is our Clearance Rack.

    An example of a product that we do not want to show is here:
    Code:
    http://dev.perfectlocks.com/discount-weaves-c-70_76/12-straight-hand-tied-weft-virgin-medium-brown-m-574
    I hope that makes sense.

  9. #29
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Exclude category from also purchased?

    The master_categories_id is NOT the parent Categories categories_id ...

    It should be the immediate category that the products are in ...

    When you edit one of these Products, what do you see listed for the:
    Product Master Category:
    at the top of the screen?

    Do you use Linked Products?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #30
    Join Date
    Dec 2008
    Location
    San Fran
    Posts
    382
    Plugin Contributions
    0

    Default Re: Exclude category from also purchased?

    Ok, sorry about that. I see one of the following numbers: 71, 72, 75, 76.

    These are the numbers that I used in your proposed code, but they are having no effect on hiding the products.

    Code:
    <?php if ($zc_show_also_purchased == true && ($current_category_id != '71' && $current_category_id != '72' && $current_category_id != '75' && $current_category_id != '76') ) { ?>
    The products are not linked.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. How to remove price information from "also purchased" box?
    By wilsonshen in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 May 2011, 06:45 AM
  2. Horizontal Product Display (also purchased, featured products, category images)
    By jayhos in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 1 Feb 2011, 11:29 AM
  3. Remove price from also purchased display
    By ggbarnum in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Oct 2010, 01:30 AM
  4. Disable Specific Product from Customers who bought/selected also purchased...
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Dec 2009, 07:18 PM
  5. remove product name from also purchased
    By etoile03 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jul 2006, 05:39 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR