Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Price List Module Assistance

    It's quite possible that I'm unable to see the forest for the trees.

    I've attempted (unsuccessfully) to install & re-install this module.
    Under Admin/Configuration/Price-list Profile-1 all the appropriate files are listed. However, where it says "If enabled a link will be shown to this profile" there is no link. (There is an "Edit" button)

    Under Admin/Configuration/Printable Price-list/Show Price List it says "If true Price-List link will show in Categories box" and there is no link to be found.

    I'm quite certain that my mistake(s) lie somewhere in this section of the "Read Me" file:

    [*] a)
    One file has to be overwritten, which is inlcudes/classes/currencies.php.
    If you already made your own changes to the currencies class, you can do a filecompare and do the changes manually instead.
    [*] b)
    The included tpl_categories.php file is an example how you can create a link to the price-list inside the categories box.
    Copy it to includes/templates/YOUR_TEMPLATE/ (overwriting your categories file?!) or if it suits you better add a link yourself somewhere to the pricelist.

    CATEGORIES_BOX_HEADING_PRICELIST should be defined in your english.php file to define the text for this link
    for example add:
    define('CATEGORIES_BOX_HEADING_PRICELIST', 'Price-list');
    to your lanaguage(s) file(s)

    The code added to the included example categories.php file is:
    Code:
      // define('SHOW_CATEGORIES_BOX_PRICELIST', 'true');  
      if (SHOW_CATEGORIES_BOX_PRICELIST == 'true') {
        $content .= '<br /><a href="' . zen_href_link(FILENAME_PRICELIST) . '">' . CATEGORIES_BOX_HEADING_PRICELIST . '</a>';
      }
    Of course you are free to choose if and where you will add the link to the price-list in your shop.
    (*) c) All other files are new files.
    Even if all other file are new files, they still need to be placed in "override" files to protect them from being over written, correct?

    I did add the define to english.php (hopefully correctly)

    All I did for the currencies.php was to create an override folder and place it in there.

    I did successfully add the sql file.

    I can just sense that there is something very obvious that I'm missing. Anyway, I hope that is true and that one of you fine folks can point-out my bone-head mistake.

    Thanks for any and all assistance.

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Price List Module Assistance

    Quote Originally Posted by MeltDown
    Even if all other file are new files, they still need to be placed in "override" files to protect them from being over written, correct?
    Nope, not correct! I think that is the problem. The pricelist files need to be copied as you find them in the zip (in the zen-cart/ dir), except the files in zen-cart\includes\templates\YOUR_TEMPLATE\ those need to be copied to your template directory.

    Also, if "Admin/Configuration/Printable Price-list/Show Price List" is set to false only the link is hidden, but you should still be able to see the pricelist at: http://www.yourdomain.we/cart/index....page=pricelist

    This code is to add somewhere in your templates:
    Code:
      if (SHOW_CATEGORIES_BOX_PRICELIST == 'true') {
        $content .= '<br /><a href="' . zen_href_link(FILENAME_PRICELIST) . '">' . CATEGORIES_BOX_HEADING_PRICELIST . '</a>';
      }
    The pricelist will work without it, but you only won't see any link.

  3. #3
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Price List Module Assistance

    BTW: do you have the latest version? (which is version 1.1)

  4. #4
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Price List Module Assistance

    Quote Originally Posted by paulm
    BTW: do you have the latest version? (which is version 1.1)
    Yes I'm using Price List 1.1

    Zen Cart 1.3.0.1 [2006-04-14 06:52:45] (Fresh Installation)

    OK, (sigh) I've placed these files and am still unsuccessful.
    /shop/includes/classes/currencies.php
    /shop/includes/extra_datafiles/pricelist_filenames.php
    /shop/includes/languages/english/pricelist.php
    /shop/includes/modules/pricelist_foorter.php
    /shop/includes/modules/pricelist_header.php
    /shop/includes/modules/pages/pricelist/header_php.php
    /shop/includes/templates/template_custom_T/pricelist/
    /shop/includes/templates/template_custom_T/templates/pricelist_default.php
    When I look for the pricelist at http://www.beadedlily.com/zen-cart/index.php?main_page=pricelist
    I receive this message: No input file specified.

    The define I placed (quasi) alphabetically in english.php:
    define('CATEGORIES_BOX_HEADING_PRICELIST', 'Price list');
    define('CATEGORY_COMPANY', 'Company Details');
    define('CATEGORY_PERSONAL', 'Your Personal Details');
    define('CATEGORY_ADDRESS', 'Your Address');
    define('CATEGORY_CONTACT', 'Your Contact Information');
    define('CATEGORY_OPTIONS', 'Options');
    define('CATEGORY_PASSWORD', 'Your Password');
    define('CATEGORY_LOGIN', 'Login');
    define('PULL_DOWN_DEFAULT', 'Please Choose Your Country');
    I've succesfully re-loaded the sql. (Hmm... Is it necessary to follow a set order? Should I remove all the files and the sql and then start by sending the sql file?)

    Thanks for your help, I really appreciate it. I just can't seem to make this one go.

  5. #5
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: Price List Module Assistance

    Hey Tim,

    I've got bad and good news for you!

    The bad news is that the link you posted is not correct, the good news however is that the pricelist actually works

    Look at:
    http://www.beadedlily.com/shop/index...page=pricelist
    (it takes some time to load, but that's normal for the pricelist script)

  6. #6
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Price List Module Assistance

    You ROCK!

    Thanks so much for a great mod and your help. PriceList is really going to become an important part of the operations of BeadedLily.com

    Thanks!

 

 

Similar Threads

  1. Module for Dropdown price list
    By buzzby247 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Oct 2009, 10:58 PM
  2. price list module
    By EarlyFloyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 May 2009, 06:30 PM
  3. Printable Price List Module Question
    By hudda in forum General Questions
    Replies: 0
    Last Post: 20 Jun 2008, 10:40 AM
  4. How to use Price list module?
    By hamid84 in forum Managing Customers and Orders
    Replies: 1
    Last Post: 3 Jan 2008, 01:23 PM
  5. printable price-list module problem
    By highlander2 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 14 Dec 2007, 03:57 AM

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