Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Spadver

Archived
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Spadver

  1. I use v 1.4

     

    And if I get in admin SMALL IMAGE WIDTH 0 I've got error, when trying create PDF Catalog

     

    Warning: getimagesize(ru): failed to open stream: No such file or directory in /pub/home/****/ms1/admin/pdf_catalogue.php on line 370

     

    And if I get in admin SMALL IMAGE HEIGHT 0 I've got error, when trying create PDF Catalog

     

    Warning: getimagesize(ru): failed to open stream: No such file or directory in /pub/home/****/ms1/admin/pdf_catalogue.php on line 360

     

    Here is some code from pdf_catalog.php

    //If only Small Image Width is defined

    else if(strlen($data_array[0])>1 && strlen($data_array[1]))

    {

    $heightwidth=getimagesize($data_array[11]); // line 360

    $data_array[0]=$data_array[0];

    $data_array[1]=$heightwidth[1]*PDF_TO_MM_FACTOR;

     

    $this->ShowImage($data_array[0],$data_array[1],$link,$data_array[12]);

    $y1=$this->GetY();

    }

    //If only Small Image Height is defined

    else if(strlen($data_array[0]) && strlen($data_array[1])>1)

    {

    $heightwidth=getimagesize($data_array[11]); // line 370

    $data_array[0]=$width=$heightwidth[0]*PDF_TO_MM_FACTOR;

    $data_array[1]=$data_array[1];

     

    $this->ShowImage($data_array[0],$data_array[1],$link,$data_array[12]);

    $y1=$this->GetY();

    }

     

    And my langusge is not English! (Russian, id=4)

     

    But if SMALL IMAGE WIDTH = SMALL IMAGE HEIGHT = 100

    everything is OK.

     

    Any ideas?

     

    Thank's in advance.

  2. Link to view product x through normal categories:

    http://www.ebookx.co.uk/product64/product_info.html

    This works fine

     

    Link to view same product from within my shopping cart

    http://www.ebookx.co.uk/product64{6}14/pro...oduct_info.html

    This does not work - note the addition of the {6}14 to the link.

     

    I've got the same error!

    ms1 and snapshot from 18/05/2003.

     

    For product with 2 lists of attributes I've got

    shop/product167{1}8{8}10

     

    Any ideas?

     

    May be one must correct "href" from shopping_cart.php ?

    Or adding some lines into htaccess file?

    But I don't know rewrite rules :(

     

    Thank's in advance

  3. I. Let me clarify one thing!

     

    As far as I understood  

    IT IS NOT NESSASARY TO DO ANYTHING WITH FILES IN FOLDER SEC_v1.0a/CHANGED 05_18_2003.

     

    If it is right -->>  

    my instalation algoritm was incorrect!!!

    1. Copy from SEC_1.0/NEW FILES

    2. Copy from SEC_1.0/CHANGED FILES

    3. Copy from SEC_1.0/CHANGED 05_18_2003.

     

    Because last step upload files from step 2

     

    YES!!!

     

    I repeate step1 and step 2.

     

    And There is another thing!!!

  4. I. Let me clarify one thing!

     

    As far as I understood

    IT IS NOT NESSASARY TO DO ANYTHING WITH FILES IN FOLDER SEC_v1.0a/CHANGED 05_18_2003.

     

    If it is right -->>

    my instalation algoritm was incorrect!!!

    1. Copy from SEC_1.0/NEW FILES

    2. Copy from SEC_1.0/CHANGED FILES

    3. Copy from SEC_1.0/CHANGED 05_18_2003.

     

    Because last step upload files from step 2!!!

     

    So I must repit step 2!!!

     

    Am I Right?

     

    II. About TABLE PRICES.

     

    Is it possible to get one algoritm?

    Or I can do it just now?

     

    I'll try describe this on my business example:

    I made business gift.

     

    So I sell GOOD+SERVISE.

    For example T-Shirt + Custom Logo.

    Let customer want to have N t-shirts + his Logo

     

    To place logo I must do a pice of work S1 - it is one for all copies!!!

    For preparation work.. to get stamp (tampon, clishe...) for placing logo

     

    So total price will be calculated as

     

    TOTAL= N*(price_t-shirt) + S1 + N*(price_for_printing _logo)

     

    And here I have got TABLE PRICES!!!

     

    Let T-shirt price - 5$

    Stamp - 20$

    Price for print 1 item - 1$

     

    So

    If N=10, total order price=80$ (10*5+20+10*1), Price for unit=8$ (80/10)

    If N=40, total order price=260$, Price for unit=6,5$

    If N=100, total order price=620$, Price for unit=6,2$

     

    So thank you, Linda, very much!!!

     

    But can I realase such calculation in oscommerce?

     

    Hope you undestand me!

     

    III And one funny thing

    In standart snapshop there is product (ID=3)

    "Microsoft IntelliMouse Pro" and manufacture WARNER!!!

    It is just mistake... but not so funny!!!

     

    when I saw it for the first time in my fresh installation snapshot for SEC, I decided that somebody has changed it from admin!!! :x

    And what he can change more?

     

    So I delited all installation and made frech install again!!! :D

     

    Linda, as TEAM MEMBER please correct it!!!

  5. Linda!

    Thank you very much for your hard work!!!

    I've just installed SEC v1.0a in fresh snapshot from 18 May.

    - I've uploaded New files

    - I've uploaded Changed files

    - I've uploaded Changed 18_05 files (is it right?)

    - I made changes in english.php anf general.php files

    - I replaced login.php styleseeet.css and aplicathion_top.php (in there folders)

     

    And I have some questions:

    1. Something is wrong in stylesheet.css

    I have white letters on white backgraund in header horizontal menu under "advanced search" (HOME ...)

    2. There is no any buttons PREV | PRODUCT LISTING | NEXT at product_info page

    Must one to switch it on? Where?

    Or must I install it by myself over SEC ?

     

    You can compare

    my test site http://ms1.business-gift.ru/product_info.p...0&products_id=6

     

    and Linda site http://www.8thoctave.com/osc_freecall/prod...products_id=154

     

    By the way, why there is difference in URL? I mean "cPath=".

     

    3. There are tld.txt & sikiller.txt files in catalog/include

    How one can use it? And what for?

     

    Thank you very much in advance!

    And forgive me is I've missed the explanation because of my English.[/b]

  6. Cant't find EDIT button :D

    1. SQL

    Mooh say (page3)

    Hy, I find the problem with newsdesk.sql, it's a problem of apostrophe (in text)  

     

    line 288 -> €r€nIsn€'t this  

    line 291 -> you€'ll enjoy  

    line 294 -> Isn€'t life grand  

    line 304 -> I wonder who€'ll  

    2.

    Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in e:conceptioneasyphpwwwsitecatalognewsdesk_index.php on line 185

    rubygirl say (page 4)

    Instead of: (about lines 183-187 without wordwrap on!)  

     

    if (($categories['categories_image'] = 'NULL') or categories) {  

    } else {  

    $print_echo = "tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'],  

    SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)";  

    }  

     

     

     

    It should be: (about lines 183-187 without wordwrap on!)  

     

    if (($categories['categories_image'] = 'NULL') or categories) {  

    } else {  

    $print_echo = tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'],  

    SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT);  

    }  

     

    One no need to use " !!! before tep_image and after SUBCATEGORY_IMAGE_HEIGHT)

  7. Thank's for greate work!

     

    Only some things. ;-)

     

    I've download this contribution+putch only yesterday 26/04 and I am trying to add this at MS1 now.

     

    And I meet the same bugs to fix that I must read all this thread. :(

    And those bugs are still in donload files!!!

     

    1. Problem SQL - answer is here, about page 4. Done!

    2. Problem error 185 line (this is about "tep... ) answer is here about page 7. Done!

    3. For NOnENGLISH speaking users!

    To see NewsDesk at 1'st time you can switch language to ENGLISH!

    4. Now I miss STYLES sheet

    at http://my_site/newsdesk_info.php?newsdesk_id=2

     

    BUT NOT at http://my_site/newsdesk_index.php?newsPath=1

     

    But may be tomorrow the new release will be placed?

    And we start new thread? :D

  8. I also can't change price! :-(

     

    1. Snapshot - MS1 (with default DB)

    2. So every good has unique Model ID

    3. EasyPopulate v. 253

     

    What I do:

     

    4. Save DB (first line)

    5. Open file in Exel (for prices - field as TEXT - else sometimes Exel reads it as DATA field !)

    6. Change any price (only one field!)

    7. Save it as txt file

    8. Do import.

     

    No error message.

    But the price is the same!

  9. Conversion,

     

    Not sure if this is what you are looking for, but I have done something similar where the user can select there own theme.

     

    www.dcpcwebdevelopment.co.uk/themetest

     

    LANGO

     

    You made greate work!!!

     

    I like this themes very much in PostNuke site.

    And I like it very very very... much in osCommerce site!

     

    I would like to have an opportunity to use it!

     

    And I think it would be greate contribution!!!

×
×
  • Create New...