Thread: Wishlist

Results 1 to 10 of 378

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Wishlist

    Quote Originally Posted by SnuggleBerryPie View Post
    I don't have a button to be able to edit my original post (since it was only my 2nd post on the forum) but it looks like I have incorrect information there. You do not need to modify the tpl_product_info_display.php file as it is already doing the check correctly. Instead, just edit /includes/templates/template_default/un_wishlist_find/tpl_un_wishlist_find_default.php

    Find:
    PHP Code:
    <li class="price"><?php echo TEXT_BASE_PRICE $products_price?></li>
    Replace with:
    PHP Code:
    <li class="price"><?php echo ((zen_has_product_attributes_values((int)$products->fields['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE '') . $products_price?></li>
    Sorry for the confusion. I copied the checking code from the tpl_product_info_display.php file and must have confused the two files when I posted the instructions.
    thanks for posting your fixes Snuggle, i have replaced this line in the file but it still shows starting at while it shouldn't.
    crazy, i am clueless why...

  2. #2
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Wishlist

    Quote Originally Posted by nagelkruid View Post
    thanks for posting your fixes Snuggle, i have replaced this line in the file but it still shows starting at while it shouldn't.
    crazy, i am clueless why...
    think i figured it out, in your previous posts, where you said to edit /includes/templates/template_default/templates/tpl_product_info_display.php incorrectly, i think you may wanted to refer to the file
    includes\templates\template_default\un_wishlist\tpl_un_wishlist_default.php

  3. #3
    Join Date
    Mar 2011
    Location
    Melbourne, Australia
    Posts
    13
    Plugin Contributions
    0

    Default Re: Wishlist

    ooohh You are correct! Good find! So the corrected information should be...

    'Starting At' Text
    The supplied pages are hard-coded to show the "Starting At" prefix to the price regardless of whether it is needed. To fix this:
    - in /includes/templates/template_default/un_wishlist/tpl_unwishlist_default.php search for TEXT_BASE_PRICE
    - replace the entire line with the following:
    PHP Code:
    <li class="price"><?php echo ((zen_has_product_attributes_values((int)$products->fields['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE '') . $products_price?></li>
    - repeat for /includes/templates/template_default/un_wishlist_find/tpl_un_wishlist_find_default.php

 

 

Similar Threads

  1. v151 Wishlist
    By Kevin205 in forum General Questions
    Replies: 0
    Last Post: 15 Jan 2013, 01:45 AM
  2. Wishlist
    By simplemedia in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 20 Apr 2012, 08:40 PM
  3. Wishlist 0.9
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Nov 2011, 03:52 PM
  4. 1.5.0 wishlist?
    By trickobrien in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 21 Oct 2011, 07:16 PM
  5. Wishlist
    By Dutchman in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Oct 2007, 02:37 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