Jump to content

flashtorch

Members
  • Content count

    17
  • Joined

  • Last visited

Profile Information

  • Real Name
    chong jun xiong
  1. I am having the same problem, can any kind soul to help here!
  2. Hi, guys, I am facing a very weird kind of problem. I installed EP2.76 & Qtpro to both my webhost and localhost. As this version doesn't created product attributes (i have tried but failed), I used SQL file to direct import into my database on both hosts. Then I used the easypopulation to update the stocks according to each attribute. Funny thing happens. My localhost gives no problem. but OSC on my webhost shows problem when I choose to confirm the checkout (at checkoutconfirmation.php), it would direct me to shopping_cart.php. Both OSC on my two hosts are exactly the same. I am currently using OSCRC2. Can any kind soul help me? Thanks in advance.
  3. Hi, I really need a kind soul to assist here. I have a big challenge here regarding to "customer exclusion". Admittedly, my use of discount coupon in my store is for refund purpose. So, when I need to make a refund to a customer, I give him/her a discount coupon. As by default, all newly-registered customers are not excluded from the "custerer exclusion" for a specific coupon (the coupon was created before the customers register), they can make use of this discount coupon if they know the coupon code. This poses a serious bug to the store as I will end up having many fraudulent coupon redemption. Can anyone in this forum enlighten me how and where I should start to hack the code? If anyone did some mod for the purpose as above (to exclude those newly-registered customers to use the coupon), would you mind sharing the codes with us, or probably make it a contribution. Thank you in advance. Best Regards.
  4. flashtorch

    [Contribution] STS v4

    Hi any idea how to customize one infobox without affecting others? Basically, I am looking at changing the background color of category infobox, however when I changed the background color of infobox in css, other boxes got affected. Can someone enlighten me how I could achieve this. Thank you.
  5. flashtorch

    [contribution] Simple Template System (sts)

    I got it. Thanks so much. Now I shall explore CSS to do customization.
  6. flashtorch

    [contribution] Simple Template System (sts)

    Thanks for that. Yeah. I am talking about both fixed width and height. Take product info page as example, whenever the length of the description text is different, the height of that box ($content for product info page) is different. So, product info page for product "Microsoft Internet Keyboard PS/2" is short while that for product "Matrox G200 MMS" is longer. Can you enlighten me how to use CSS to fix the box size as I have tried many times but failed. Thank you in advance. Yah. I am thinking of using CSS, but I have no idea how to make fixed height for that box.
  7. flashtorch

    [contribution] Simple Template System (sts)

    Better to clarify a little bit here just to make sure people do understand me. My question here is to get fixed layouts for every page but with things changing inside the fixed layouts. www.topshop.com has a fixed layout where the content box does not resize regardless of text length, no. of products and etc. I just wonder is it possible to do so in Osc with the great contribution of STS. Thank you.
  8. flashtorch

    [contribution] Simple Template System (sts)

    Thanks for reply. Pardon me for my bad english. Well. let's start from the fresh copy of oscommerce. You will see that when number of products in a particular categories are different, the size of the product listing box changes. And also, when the length of a particular page (shipping.php, contact_us.php) changes, the size of the box changes also. Having said that, I should conclude that the footer position keep changing every click on the site. So, my query is that is there anyway that we could at least fix the size of all the boxes, for instance, makes the position of the footers fix regardless of the size/length of the content, by using STS. Sorry for my ignorance in HTML and PHP as I have totally no clue how to proceed. Thank you.
  9. flashtorch

    [Contribution] STS v4

    Notice that my site keep changing the layout for every page depending on the number of products in the particular category and the length of the displayed texts. I would like to fix my layout like having everything fixed within fixed-size boxes regardless of the length of the text and etc. Could it be done in STS? Sorry. I am kinda noob here and desperately need a kind soul to enlighten me. Thanks.
  10. flashtorch

    [contribution] Simple Template System (sts)

    Notice that my site keep changing the layout for every page depending on the number of products in the particular category and the length of the displayed texts. I would like to fix my layout like having everything fixed within fixed-size boxes regardless of the length of the text and etc. Could it be done in STS? Sorry. I am kinda noob here and desperately need a kind soul to enlighten me. Thanks.
  11. flashtorch

    [Contribution] STS v4

    Thanks Bill. You are the kindest soul here. However, I couldn't find any post regarding search.php in the link you gave. Can you write out the post number here, so that I could locate? Once again, thanks.
  12. flashtorch

    [Contribution] STS v4

    Hi I desperately need some kind souls in this community to assist my problem. I am currently using STS+QTPRO and everything looks good until I did some modification on catalog/includes/boxes/searchbox.php. I changed it from default (with infobox) to following, ?> <!-- search //--> <tr> <td align="left"> <?php echo "SEARCH "; echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); echo tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'; ?> </td> </tr> <!-- search_eof //--> The purpose is to get boxlike layout for searchbox eliminated and I put $search at the top of the page. After this, the problems occur to "ADD TO CART" button in product info page. When I press that button, it brings me to Advanced Search page. I believe the problem comes from the code above as if I pasted back the default php file (OSC 2.2RC2a), the button works properly. Can anyone enlighten me on this? Thank you.
  13. flashtorch

    [contribution] Simple Template System (sts)

    Hi I desperately need some kind souls in this community to assist my problem. I am currently using STS+QTPRO and everything looks good until I did some modification on catalog/includes/boxes/searchbox.php. I changed it from default (with infobox) to following, ?> <!-- search //--> <tr> <td align="left"> <?php echo "SEARCH "; echo tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'); echo tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: ' . (BOX_WIDTH-30) . 'px"') . ' ' . tep_hide_session_id() . tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH) . '<br>' . BOX_SEARCH_TEXT . '<br><a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '"><b>' . BOX_SEARCH_ADVANCED_SEARCH . '</b></a>'; ?> </td> </tr> <!-- search_eof //--> The purpose is to get boxlike layout for searchbox eliminated and I put $search at the top of the page. After this, the problems occur to "ADD TO CART" button when I review the product. When I press that button, it brings me to Advanced Search page. I believe the problem comes from the code above as if I pasted back the default php file (OSC 2.2RC2a), the button works properly. Can anyone enlighten me on this. Thank you.
  14. Millionssss Thanks! I finally got it run! You are really the kind soul. Cheers~ for this helpful community!
  15. One thing I need to clarify for the error I received. It happens only when I want to assign stock level (no. of stock) for product with particular attributes. So, it is within QT pro functions. My OsC runs properly without QT pro. Thank you. Best Regards.
×