Jump to content

raiwa

♥Ambassador
  • Content count

    3,772
  • Joined

  • Last visited

  • Days Won

    129

Posts posted by raiwa


  1. Thank you @asro2004,

    I tested on a live shop and found the following:

    - in test mode: stucks on checkout_confirmation.php => card data filled in => pressed confirmation button => button stays disabled => doesn't forward, no payment processed

    - in live mode: payment got processed,but I got redirected to the empty shopping cart instead of checkout success. Payment correct registered, but order is not processed neither saved in the store db.

    Some issues:

    - the option "Save Card for next purchase?" shows on checkout_confirmation.php even it is disabled in the module.

    -  "CVC" shows on checkout_confirmation.php even it is disabled in the module.


  2. I believe there is a typo:

    Quote

    - select event 'payment_intent.succeeded' and 'payment_event.payment_failed'

    should be:

    Quote

    - select event 'payment_intent.succeeded' and 'payment_intent.payment_failed'

    "'payment_event.payment_failed" is not in the drop down list


  3. @SCH_001,

    You could just make a copy of the module and place it in modules/content/shopping_cart/ (supposed you are using modular shopping cart)

    you should rename the files, class name and all constants matching the naming convention of the other shopping cart modules.

    For the checkout_payment page, there is my modular checkout pages addon which would allow to do the same there.


  4. 14 hours ago, artfulweb said:

    Hi Rainer,

    I am sure there must be others like me who use QTPro not just for the stock handling but also for the fact that we can use options as images in multiple dropdowns, something that the Options as Images add-on can not do itself. It worked great on Frozen BS3 but for the life of me I can not get the attribute drop downs to show on Phoenix 1.0.2.2! The admin works great, it is just the drop downs on the store front that do not. As I do not think they are going to add this capability to the options it would be great to have a solution before scrapping the images (just text does not help the customer when there are sometimes 50+ colors in addition to regular text options like size. What do you think?

    I'm very busy right now and have little time for the Addons Updates. I'll have a look on this how much is to do and see if I can find time to do it.


  5. Malcolm @ArtcoInc,

    You can inject the scripts into the footer scripts block with the header content module like follows.

    cm_header_catmenu_xs.php:

        function execute() {
          global $oscTemplate;
    
          ob_start();
            include('includes/modules/content/' . $this->group . '/templates/tpl_' . basename(__FILE__));
          $data = ob_get_clean();
    
          $oscTemplate->addContent($data, $this->group);
    
          $catmenu_script_sources ='
    <script src="ext/menu_xs/js/modernizr.custom.js"></script>
    <script src="ext/menu_xs/js/jquery.dlmenu.js"></script>';
    
          $oscTemplate->addBlock($catmenu_script_sources, 'footer_scripts');
    
          if(MODULE_CONTENT_HEADER_CATMENU_XS_TRANSITION == 'Default') {
    $catmenu_script = '
    <script>
    	$(function() {
    		$( \'#dl-menu\' ).dlmenu();
    	});
    </script>';
          } elseif(MODULE_CONTENT_HEADER_CATMENU_XS_TRANSITION == 'Trans1') {
    $catmenu_script = '
    <script>
    	$(function() {
    		$( \'#dl-menu\' ).dlmenu({
    			animationClasses : { classin : \'dl-animate-in-2\', classout : \'dl-animate-out-2\' }
    		});
    	});
    </script>';
          } elseif(MODULE_CONTENT_HEADER_CATMENU_XS_TRANSITION == 'Trans2') {
    $catmenu_script = '
    <script>
    	$(function() {
    		$( \'#dl-menu\' ).dlmenu({
    			animationClasses : { classin : \'dl-animate-in-5\', classout : \'dl-animate-out-5\' }
    		});
    	});
    </script>';
          } elseif(MODULE_CONTENT_HEADER_CATMENU_XS_TRANSITION == 'Trans3') {
    $catmenu_script = '
    <script>
    	$(function() {
    		$( \'#dl-menu\' ).dlmenu({
    			animationClasses : { classin : \'dl-animate-in-3\', classout : \'dl-animate-out-3\' }
    		});
    	});
    </script>';
          } elseif(MODULE_CONTENT_HEADER_CATMENU_XS_TRANSITION == 'Trans4') {
    $catmenu_script = '
    <script>
    	$(function() {
    		$( \'#dl-menu\' ).dlmenu({
    			animationClasses : { classin : \'dl-animate-in-4\', classout : \'dl-animate-out-4\' }
    		});
    	});
    </script>';
          }
    
          $oscTemplate->addBlock($catmenu_script, 'footer_scripts');
    
        }

     


  6. 6 hours ago, Denkster said:

    Where do I start to adapt it to Phoenix?

    • set error reporting to "ALL" in appplication_top.php (both, store and admin)
    • replace filename constants with hardcoded filenames. Example: FILENAME_DEFAULT => 'index.php'
    • replace path/directory constants with hardcoded paths. Example: DIR_WS_INCLUDES => 'includes/'
    • update class constructor names to '__construct'. Example:
      class cod {
        var $code, $title, $description, $enabled;
    
        function cod() {
    
    
    update to:
    
      class cod {
        var $code, $title, $description, $enabled;
    
        function __construct() {

     

    • Update while....each functions to foreach. Example:
      while (list($key, $value) = each($define_list)) {
    
    Update to:
    
      foreach($define_list as $key => $value) {

    That's for the beginning. Then observe displayed errors and fix them.


  7. Uploaded update for Phoenix:

    Purchase without account 4.0.0

    Changes Version. 4.0.0

    - Updated for Phoenix

    2 versions included:
    Phoenix 1.0.2.0 and lower: old review write page "reviews_write_pwa.php"
    Phoenix 1.0.2.1 and higher: new reviews module "ext/modules/content/reviews/write_pwa.php"

    Older CE BS versions please use PWA for BS 3.0.5
    Older 2.3.4.(1.) versions please use PWA for BS 2.5r2


  8. Uploaded update:

    Wholesale (SPPC lite) 4.0.1.

    -    Added missing modified file advanced_search_result.php. Thanks to @Portman


    Compatibility: Phoenix 1.0.1.x PHP 7.0-7.3
    -------------------------------------------------------------------------------------------------------------
    CE FROZEN please use Wholesale (SPPC Lite) 3.0.4
    Older 2.3.4.(1.) versions please use Wholesale (SPPC Lite) 2.0


  9. 4 minutes ago, Omar_one said:

    I can see there is 3 add-ons installed  .. maybe send email loop somewhere

    neither PWA nor Points and rewards sends mails. They only modify the order mail content. (supposed they have not been modified).

    He tried already with PWA commented out, no effect. But yes, best would be to try with a complete original checkout process file and check if the same happens.

    Which was the third Addon?


  10. 17 minutes ago, mcmannehan said:

    SEND_EXTRA_ORDER_EMAILS_TO  is filled with the customer email address. So check all the code and the files with that variable. May be elsewhere
    varibale is filled with the customer address.

    This would be the only logical explanation, but there is very little probability for a constant (it's a constant, not a variable) to get redefined. A quite specific code is required to do so.

    define('SEND_EXTRA_ORDER_EMAILS_TO', 'info@mailaddress.com');

    or:

       const SEND_EXTRA_ORDER_EMAILS_TO     = 'info@mailaddress.com';

     


  11. 2 minutes ago, YePix said:

    No.

    Shop email address
    Email from
    and additional order mail to admin is always the same email address

    And the e-mail of the customer test account is different?

    If you comment out the above snippet and it stops duplicating mails, there is no logic.


  12. 20 minutes ago, YePix said:

    Yes that was it. Thanks. But now I need the order mail for the admin

    If it was the extra order mail in this snippet:

    26 minutes ago, Omar_one said:

    commend this out and try

    
    // send emails to other people
      if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
        tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
      }

     

    then it must be related to the store owners mail/extra order mail. Do you have more than one mail entered in Admin for to send extra order mail?


  13. Hello Don @NodsDorf,

    Database structure should stay identical, but I'm not sure if QTPRo will be updated soon. There is a mayor update for Phoenix announced which probably includes a different/updated options/attributes system including stock control. SO it may not make sense anymore to use QTPro.

    I have for now other Addons in front which for sure need the update. Sorry!


  14. 4 hours ago, Demitry said:

    So, I assume I need the 4.4.2 BS? ..and then,.. do I need to manually transfer some of the newer changes from the 3 later releases?

    Yes, there is a typo, use 4.4.2 and the ot_discount.php included in 5.1.1:

    On 8/18/2019 at 6:09 PM, raiwa said:

    Please apply this fix also to previous versions. (replace only ot_discount.php module) 

     


  15. Uploaded Version Phoenix 7.1 for Phoenix 1.0.2.x:

    Related Products Phoenix 7.1

    - Updated for CE Phoenix 1.0.2.x
    - updated coding to match Phoenix 1.0.2.0 product listings and config entries
    - simplified modules and removed config entries to show always product name, image and price
    - simplified description length limit


    Phoenix 1.0.1.x, please use Related Products 7.0
    2.3.4.1 FROZEN and older BS3 versions, please use Related Products 6.6


  16. Upddated to Version 5.0.1 Phoenix

    https://apps.oscommerce.com/z7iA8&recently-viewed-products-bs

    Compatibility:
    Phoenix 1.0.2.x
    PHP: 7.0-7.3
    *********************************************************************************************************************
    This version has not been tested with earlier Phoenix versions.
    You will need to apply at least the following database update to use it with Phoenix 1.0.0.x or 1.0.1.x.:
    https://pastebin.com/Ed8B6nuT
    You may also need to update custom.css
    *********************************************************************************************************************

    Changes:        

             - modified "See More" button to show only if more recently products have been visited than number of recently products shown in module.
    Thanks to @Demitry for the suggestion
             - readded missing truncate text function in cm_sc_continue_recently_viewed.php shopping cart module
             - removed obsolete truncate text functions in box module

     

×