Jump to content

Alex Zuyev

Members
  • Content count

    21
  • Joined

  • Last visited

1 Follower

Profile Information

  1. Alex Zuyev

    ### POINTS AND REWARDS MODULE V1.00 ###

    Hallo. Does anybody set this contrib to Basic Template System? I tried to do it and almost everything worked but with some mysql mistakes. Maybe there is a "ready-to-install" contrib for BTS?
  2. Alex Zuyev

    BTSv1.2 Support

    Done! :thumbsup: Find in shop/includes/functions/html_output.php // The HTML form submit button wrapper function // Outputs a button in the selected language function tep_image_submit($image, $alt = '', $parameters = '') { global $language; $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"'; if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "'; if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters; $image_submit .= '>'; return $image_submit; } //// // Output a function button in the selected language function tep_image_button($image, $alt = '', $parameters = '') { global $language; return tep_image(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image, $alt, '', '', $parameters); } //// Replace with: // The HTML form submit button wrapper function // Outputs a button in the selected language function tep_image_submit($image, $alt = '', $parameters = '') { if (is_file(DIR_WS_TEMPLATES . 'images/' . $image)) { $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_TEMPLATES . 'images/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"'; } else { $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_TEMPLATES_FALLBACK . 'images/' . $image) . '" border="0" alt="' . tep_output_string($alt) . '"'; } if (tep_not_null($alt)) $image_submit .= ' title=" ' . tep_output_string($alt) . ' "'; if (tep_not_null($parameters)) $image_submit .= ' ' . $parameters; $image_submit .= '>'; return $image_submit; } //// // Output a function button in the selected language function tep_image_button($image, $alt = '', $parameters = '') { if (is_file(DIR_WS_TEMPLATES . 'images/' . $image)) { return tep_image(DIR_WS_TEMPLATES . 'images/' . $image, $alt, '', '', $parameters); } else { return tep_image(DIR_WS_TEMPLATES_FALLBACK . 'images/' . $image, $alt, '', '', $parameters); } } ////
  3. Alex Zuyev

    BTSv1.2 Support

    Unfortunatelly I didn't manage to make BTS to make each template use its own buttons from /templates/xxx/images or from /templates/xxx/images/buttoms. All my three installed templates (fallback, flame and cobalt) use buttons from /includes/languages/russian/images/buttons/button_login.gif but it is wrong! Will you please explain me how to use button-images for their own templates?
  4. Alex Zuyev

    [contribution] Total B2B

    Hallo, hOZONE. Probably you have already done the mod and I do not need to brake my head about it. I am thinking about setting a discount group field in stats_customers.php file. It would be much more comfortable: you see the total customers' puchases and can set them a discount group at the same time. I tried to do it myself but I fail.
  5. Alex Zuyev

    [contribution] Total B2B

    Thanx to all! Done! address_book_id in address_book table should be
  6. Alex Zuyev

    [contribution] Total B2B

    I've solved the problem with admin/customers.php?action=edit but my customers still do not have any Default Address when registrated and they have to set the one manualy.
  7. Alex Zuyev

    [contribution] Total B2B

    After setting B2B I have a bug in customer_default_address_id. All previous customers have their default address set perfectly correct, but new customers don't ave any default address at all. This bug leads to admin/customers.php?action=edit error like: Warning: reset(): Passed variable is not an array or object in /home/piercing/public_html/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/piercing/public_html/admin/includes/classes/object_info.php on line 18 I found it out when looking at db customers --> customers_default_address_id. All old customers have "1" in the line. But all new registrated customers have "0" 1486 m New Customer 0000-00-00 00:00:00 new@mail.ru --->0<--- 5622215 passwd 1 -0.00 1 1 1483 m Old Customer 0000-00-00 00:00:00 old@mail.ru --->1<--- 4581089 passwd 1 -0.00 1 0 And of cource if I manualy set "1" to a new customer the admin bug in admin/customers.php?action=edit dissapear. But in catalog/address_book.php a new customer sees nothing at his default address. DB table customers_default_address_id is set to "1" by default but it doesn't work for new customers.
  8. Alex Zuyev

    Attribute Sets Contribution

    The problem was found when using old way of adding attributes for each product. I had to stop using your contrib beacuse impossibility of it. Sorry. Howevere please if you need me as a beta-test do not hesitate to ask! :thumbsup:
  9. Alex Zuyev

    Attribute Sets Contribution

    Actually there is no sub-step 3 in the contribution that explain how to fix manual method of managing Product Attributes the old way. Probably I'd better come back to this problem: with PA-4 installed I can add separate product attributes the old way. But when I complete editting a product with separate attributes I've got ATTRIBUTE SET WARNING: At least one Attribute Set is set to '--none--' of the 3 total set(s) used for this product. ATTRIBUTE SET WARNING: At least one Attribute Set is set to '--none--' of the 3 total set(s) used for this product. ATTRIBUTE SET WARNING: At least one Attribute Set is set to '--none--' of the 3 total set(s) used for this product. and of cource updating this product leads to disappearing all old attributes. It is pretty important for me and I'd be pleased if you have a fix to the problem!
  10. Alex Zuyev

    [contribution] Total B2B

    Hallo and Happy NY! I'm still really eager to implement vizibility of %discount rates for customers. I do understand that it is very complicated to set an option to show the original price and the discount price in the same page. However there must be a solution to inform a customer that he is UNIQUE and he has a special discounted price. Please if anyone improved the B2B with showing to a customer his % of discount - it will be very kind of you to share the code here ))
  11. Alex Zuyev

    Register Globals Support

    Hello , Thanx for the contrib about But after making all changes Catalog works perfectly but admin part has some bugs. There are no active links for administration, just simple text lines like Odrers, Customers ets. without <a></a> links. Hope you understand what I mean. As well there is a bug in products_attributes.php
×