Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jonquil

Archived
  • Posts

    1,054
  • Joined

  • Last visited

Everything posted by jonquil

  1. stylesheet.css A:hover { color: #ffffff; text-decoration: underline; } I would make another style: A:hover1 { color: #292929; text-decoration: underline; } You will have to find all link calls that appear "on white" and change the call to this new style. I had to do this for a shop that was using half STS (don't ask). You can apply the colour in some of the language defines files and some in coded files. Be patient. Where you can't figure out the style call, you can do <font color="#292929"> blah blah </font> I hope this helps. jon
  2. You can hardcode it or create another style in your sheet and change the style call where you like. Have a URL?
  3. Ditto. Works well :) When you add stock to the sizes of the product, the sum of all your stock will show when you look at the product specs itself (in Admin).
  4. Not sure if you checked the add-ons section: http://addons.oscommerce.com/category?search=visanet
  5. From the manuala; Using QT Pro When QT Pro is first installed your site will not look or work different than a base osCommerce site. You will need to configure QT Pro to take advantage of its features. To activate the QT Pro features you need to: 1. Select a Product Attribute Display plugin and set configuration options. 2. Setup new or existing product options to track stock 3. Add stock to your products attribute combinations. Some things to keep in mind: When using QT Pro you must set in the admin site under Configuration/Stock: * Check stock level to true * Subtract stock to true and so on. Does this help? jon
  6. Give it a shot and see :) Easy install, easy uninstall. Just Back Up your data base beforehand. jon
  7. Admin >> Configuration >>Images >> Adjust your dimensions here. Any chance you have UltraPics installed? It would help. Otherwise, I would do custom thumbs due to the fact your pics are varying heights & widths. jon
  8. :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup: A HUGE thank you to shimon's complete-package upload (12 Dec 2007). Easy install, showed up straight away with existing attributes showing up on all products! Well done! jon
  9. Do you have the following in this file? admin\includes\filenames.php: define('FILENAME_COUPON_ADMIN', 'coupon_admin.php'); jon
  10. View the invoice in Admin; right click on a side image and view image. Make note of the path. On your local machine, open in image editor of your choice and save under same name. Upload via FTP. Do a search in your files for every instance of each image's filename and make note of the height/width specs. Change to suit. jon
  11. Yup, my prints look the same. The issue is the images on the side. Do a right-click to see the actual size. Each is specced to stretch onscreen but will retain its original size in print. Fix? I will be replacing the corners with flat corners and the sides with a clear spacer.gif. Won't see the sides onscreen or in print. Works for me :) jon
  12. Just for kicks, compare your links.php file as you have modified it (added HTML code for the links when you didn't have to) to the same file, unmodified, that came with the Contribution. When all else fails, replace the links.php on the server with the once you started with in the beginning. Make sure it's the right one in the correct directory. Give this a shot. Maybe I'm missing something. jon
  13. Yup :) Yup :) Nope :( This is what Admin >> Links Manager >> Links >> New Link button is for. Just put a dummy URL in the Reciprocal until you know where they will list your home page link on their site. Contributions are meant to eliminate the hand-coding work :) jon
  14. I would change your Link Phrase to brs-giftshop and call it good. The phrase will be checked to see if it appears on the (Site B's) link you (or they) provide as the reciprocal http://SiteB.com/links.html <-- for example. Site B should have you listed as http://www.SiteA.com. jon
  15. I think what Jack is trying to tell you is that is the site you're adding ( Site B ) through your front-end form does not yet list your site ( Site A ) on their site ( Site B ). The reciprocal link may well exist, but your Site A may not yet be there. In the Admin path I noted above for the Link Check Phrase, your Links Configuration is looking for a Phrase, e.g., Gift Shop, or your own URL to verify that your link exists at Site B. Make sense? Instead of adding sites (that reciprocate by having a link to your site on theirs) through your front end, add these site thru Admin's Links Manager. It may be easier for you. jon
  16. Hi, I discovered the other day that when checking links (from within Admin), any reciprocal link ending with .asp would come back as not found. That said, what do you have as your Links Check Phrase? (Admin>>Configuration>>'Links'>>Links Check Phrase). jon
  17. FYI, if anyone needs to change the GIFT prefix requirement to anything else, search for ^GIFT in your files. Files list: • includes\classes\shopping_cart.php • includes\classes\shopping_cart.php • includes\modules\order_total\ot_coupon.php • includes\modules\order_total\ot_gv.php These data base tables need to be emptied: • coupons • coupons_description • coupons_email_track • coupon_gv_customer • coupon_gv_queue • coupon_redeem_track As always BACK UP your data base & your store before you begin. Make the file edits, upload to the correct directories, empty the above-listed tables, create a new coupon with your new prefix -- good to go. I hope this helps :) jon
  18. Thank you, Vger, for this contribution and to everyone behind the scenes :) I inherited a heavily modified site with CCGV installed about 2 years ago. Honestly, it's difficult to ascertain which version this is. There have been so many tweaks around many installed contributions. There is a REDEEM button on checkout so it is an older version to be sure. Specifically, I need to change the "GIFT" required naming convention to something else, for example: "ABC". One of the restrictions (per install guide) is that each coupon or voucher must begin with "GIFT". This call is found in the following files: Searching for: ^GIFT includes\classes\shopping_cart.php(276): if (ereg('^GIFT', $gv_result['products_model'])) { includes\classes\shopping_cart.php(582): if (ereg('^GIFT', $gv_result['products_model'])) { includes\modules\order_total\ot_coupon.php(411): if (ereg('^GIFT', addslashes($gv_result['products_model']))) { includes\modules\order_total\ot_gv.php(117): if (ereg('^GIFT', addslashes($order->products[$i]['model']))) { Found 4 occurrence(s) in 4 file(s) If I edit ^GIFT to ^ABC in these 4 files, is this sufficient to allow the creation of coupons and voucher (products) to begin with "ABC"... followed by anything? I would image that clearing out the relevant data base tables would be required, as well. Thanks much :) jon
  19. jonquil

    ITA

    Provi questo :) 2.2 MS2 Italian Language - Complete Pack jon
  20. Resolved myself after a few cuppas and some sleep. Code chunk below posted to help others having same/similar issue. jon catalog/products_info.php $product_info = tep_db_fetch_array($product_info_query); tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); if ($new_price = tep_get_products_special_price($product_info['products_id'])) { [b]// LEAVE IN FOR MSRP- DO NOT REPLACE[/b] // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } $products_price = ''; if ($customer_group_id != '0') { $products_price .= '<span class="boxText">' . SHOW_PRICE_LIST; $products_price .= $currencies->display_price($product_info['list_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); $products_price .= '</span><br>'; // customer group prices on the next line end of small text for retail prices } $products_price .= '<span class="boxText">' . REGULAR_PRICE; $products_price .= '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s><BR>' . SPECIAL_PRICE . '<span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; // EOF Separate Price per Customer } else { // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } $products_price = ''; if ($customer_group_id != '0') { $products_price = '<span class="boxText">' . SHOW_PRICE_LIST; $products_price .= $currencies->display_price($product_info['list_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); $products_price .= '</span><br>'; // customer group prices on the next line end of small text for retail prices } $products_price .= SHOW_YOUR_PRICE ; $products_price .= $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); // EOF Separate Price per Customer } // EOF Show Price list v.3.5 1.0 for SPPC 4.1 if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } [b]// BOF MSRP [/b] $products_price = '<table class="PriceList" border="0" width="100%" cellspacing="0" cellpadding="0">'; $new_price = tep_get_products_special_price($product_info['products_id']); if ($product_info['products_msrp'] > $product_info['products_price']) $products_price .= '<tr><td>' . TEXT_PRODUCTS_MSRP . '</td><td class="oldPrice" align=right>' . $currencies->display_price($product_info['products_msrp'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>'; $products_price .= '<tr><td>' . TEXT_PRODUCTS_OUR_PRICE . '</td>'; if ($new_price != '') {$products_price .= '<td class="oldPrice"';} else {$products_price .= '<td';} $products_price .= ' align=right>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>'; if ($new_price != '') {$products_price .= '<tr class="productSpecialPrice"><td>' . TEXT_PRODUCTS_SALE . '</td><td align=right>' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';} if ($product_info['products_msrp'] > $product_info['products_price']) {if ($new_price != '') {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_msrp'] - $new_price), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';} else {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_msrp'] - $product_info['products_price']), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';}} else {if ($new_price != '') {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_price'] - $new_price), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';}} $products_price .= '</table>'; [b]// EOF MSRP[/b] ?> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"><tr> <td class="pageHeading" width="70%" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" width="30%" align="right" valign="top"><?php echo $products_price; ?></td> </tr><tr> <td colspan="2" width="100%"><?php echo tep_draw_separator('pixel_trans.gif', '10', '5'); ?></td> </tr></table> </td> </tr> <tr> <td class="main"> <!-- // Begin Tabbed Content //-->
  21. Title says it all, almost :) Display MSRP & Savings After completing 99% of the instructions, I am blind wading through all the modifications made by someone else. I have read through all posts on MSRP and can't see this addressed elsewhere. Would someone rescue me and help integrate the following step into catalog/product_info.php? I will be more than grateful :) jon Step from MSRP_listing.txt (6a. In catalog/product_info.php): [b]Find:[/b] if ($new_price = tep_get_products_special_price($product_info['products_id'])) { $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); } [b]and change it to read:[/b] $products_price = '<table class="PriceList" border="0" width="100%" cellspacing="0" cellpadding="0">'; $new_price = tep_get_products_special_price($product_info['products_id']); if ($product_info['products_msrp'] > $product_info['products_price']) $products_price .= '<tr><td>' . TEXT_PRODUCTS_MSRP . '</td><td class="oldPrice" align=right>' . $currencies->display_price($product_info['products_msrp'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>'; $products_price .= '<tr><td>' . TEXT_PRODUCTS_OUR_PRICE . '</td>'; if ($new_price != '') {$products_price .= '<td class="oldPrice"';} else {$products_price .= '<td';} $products_price .= ' align=right>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>'; if ($new_price != '') {$products_price .= '<tr class="productSpecialPrice"><td>' . TEXT_PRODUCTS_SALE . '</td><td align=right>' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';} if ($product_info['products_msrp'] > $product_info['products_price']) {if ($new_price != '') {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_msrp'] - $new_price), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';} else {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_msrp'] - $product_info['products_price']), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';}} else {if ($new_price != '') {$products_price .= '<tr><td>' . TEXT_PRODUCTS_SAVINGS . '</td><td align=right>' . $currencies->display_price(($product_info['products_price'] - $new_price), tep_get_tax_rate($product_info['products_tax_class_id'])) . '</td></tr>';}} $products_price .= '</table>'; Existing catalog/product_info.php chunk: $product_info = tep_db_fetch_array($product_info_query); tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'"); if ($new_price = tep_get_products_special_price($product_info['products_id'])) { // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } $products_price = ''; if ($customer_group_id != '0') { $products_price .= '<span class="boxText">' . SHOW_PRICE_LIST; $products_price .= $currencies->display_price($product_info['list_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); $products_price .= '</span><br>'; // customer group prices on the next line end of small text for retail prices } $products_price .= '<span class="boxText">' . REGULAR_PRICE; $products_price .= '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s><BR>' . SPECIAL_PRICE . '<span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>'; // EOF Separate Price per Customer } else { // BOF Separate Price per Customer $scustomer_group_price_query = tep_db_query("select customers_group_price from " . TABLE_PRODUCTS_GROUPS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id']. "' and customers_group_id = '" . $customer_group_id . "'"); if ($scustomer_group_price = tep_db_fetch_array($scustomer_group_price_query)) { $product_info['products_price']= $scustomer_group_price['customers_group_price']; } $products_price = ''; if ($customer_group_id != '0') { $products_price = '<span class="boxText">' . SHOW_PRICE_LIST; $products_price .= $currencies->display_price($product_info['list_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); $products_price .= '</span><br>'; // customer group prices on the next line end of small text for retail prices } $products_price .= SHOW_YOUR_PRICE ; $products_price .= $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])); // EOF Separate Price per Customer } // EOF Show Price list v.3.5 1.0 for SPPC 4.1 if (tep_not_null($product_info['products_model'])) { $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>'; } else { $products_name = $product_info['products_name']; } ?> <tr> <td> <table border="0" width="100%" cellspacing="0" cellpadding="0"><tr> <td class="pageHeading" width="70%" valign="top"><?php echo $products_name; ?></td> <td class="pageHeading" width="30%" align="right" valign="top"><?php echo $products_price; ?></td> </tr><tr> <td colspan="2" width="100%"><?php echo tep_draw_separator('pixel_trans.gif', '10', '5'); ?></td> </tr></table> </td> </tr> <tr> <td class="main"> <!-- // Begin Tabbed Content //-->
  22. I'm really sorry I couldn't get back to you on this. Maybe some day you'll give it another try. jon
  23. You've missed the first part of step 7 (at your line 180). Let's call that 7a. You took too much out for the second part of step 7. Let's call that 7b. Before you review step 7a though, you need to put some code back in that you deleted in error: At your line 328-9, where you see </noscript>, highlight that and replace it with following: <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> That takes care of 7b. Now go take care of 7a. :) Let me know how you get on. jon
×
×
  • Create New...