Jump to content

discxpress

Members
  • Content count

    729
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by discxpress

  1. discxpress

    Wishlist For Phoenix

    Yes this works! Thanks Matt @ecartz
  2. discxpress

    Wishlist For Phoenix

    When I added that script to template_bottom it didn't work. The same behavior. There's code in application_top: // BOF WISHLIST // wishlist data if (!tep_session_is_registered('wishList') || !is_object($wishList)) { tep_session_register('wishList'); $wishList = new wishlist; } //Wishlist actions (must be before shopping cart actions) if (isset($_POST['wishlist'])) { if (isset($_POST['products_id']) && is_numeric($_POST['products_id'])) { $attributes = isset($_POST['id']) ? $_POST['id'] : ''; // php 5 $qty = isset($_POST['qty']) ? (int)$_POST['qty'] : 1; // php 7 // $qty = (int)($_POST['qty'] ?? 1); $wishList->add_wishlist($_POST['products_id'], $wishList->get_quantity(tep_get_uprid($_POST['products_id'], $attributes))+$qty, $attributes); } if (WISHLIST_REDIRECT == 'No') tep_redirect(tep_href_link('product_info.php', 'products_id=' . $_POST['products_id'])); tep_redirect(tep_href_link('wishlist.php')); } // EOF WISHLIST Then there's the class file in which does the work of the button. As @LeeFoster stated it works once the Ajax buttons is turned off.
  3. discxpress

    Wishlist For Phoenix

    Hmmm. You threw me off when you said add to existing header tag module. I believe this version doesn't have that. But I also have no need to doubt you because your level of code is light years beyond my understanding. So I'll place it around until I find the correct spot. Thanks for your help sir.
  4. discxpress

    Wishlist For Phoenix

    From my understanding, all the work is done from this block of code // BOF WISHLIST // wishlist data if (!tep_session_is_registered('wishList') || !is_object($wishList)) { tep_session_register('wishList'); $wishList = new wishlist; } //Wishlist actions (must be before shopping cart actions) if (isset($_POST['wishlist'])) { if (isset($_POST['products_id']) && is_numeric($_POST['products_id'])) { $attributes = isset($_POST['id']) ? $_POST['id'] : ''; // php 5 // $qty = isset($_POST['qty']) ? (int)$_POST['qty'] : 1; // php 7 $qty = (int)($_POST['qty'] ?? 1); $wishList->add_wishlist($_POST['products_id'], $wishList->get_quantity(tep_get_uprid($_POST['products_id'], $attributes))+$qty, $attributes); } if (WISHLIST_REDIRECT == 'No') tep_redirect(tep_href_link('product_info.php', 'products_id=' . $_POST['products_id'])); tep_redirect(tep_href_link('wishlist.php')); } // EOF WISHLIST @kgtee @ecartz my php version is 7.3
  5. discxpress

    Wishlist For Phoenix

    Same behavior in Firefox @ecartz
  6. discxpress

    Wishlist For Phoenix

    I use latest version of Chrome.
  7. discxpress

    Wishlist For Phoenix

    I just installed your version. here's the errors: Stack trace: #0 /home/xxxxxxxxxx/public_html/includes/system/versioned/1.0.4.0/osc_template.php(147): cm_navbar->execute() #1 /home/xxxxxxxxxx/public_html/includes/template_top.php(58): oscTemplate->getContent('navigation') #2 /home/xxxxxxxxxx/public_html/index.php(35): require('/home/q4p7grzvy...') #3 {main} thrown in /home/xxxxxxxxxx/public_html/includes/modules/content/navigation/cm_navbar.php on line 58 [18-Mar-2020 06:02:02 UTC] PHP Fatal error: Uncaught Error: Class 'nb_wishlist' not found in /home/xxxxxxxxxx/public_html/includes/modules/content/navigation/cm_navbar.php:58 Stack trace: #0 /home/xxxxxxxxxx/public_html/includes/system/versioned/1.0.4.0/osc_template.php(147): cm_navbar->execute() #1 /home/xxxxxxxxxx/public_html/includes/template_top.php(58): oscTemplate->getContent('navigation') #2 /home/xxxxxxxxxx/public_html/index.php(35): require('/home/q4p7grzvy...') #3 {main} thrown in /home/xxxxxxxxxx/public_html/includes/modules/content/navigation/cm_navbar.php on line 58 Also note that when you click save to favorites, an item is added to shopping cart. Thanks
  8. discxpress

    Wishlist For Phoenix

    @LeeFoster looking through error logs, it's something about $wishList->count_contents() that Phoenix doesn't like. Here's what my error logs report [17-Mar-2020 08:26:56 UTC] PHP Warning: Use of undefined constant HEADER_ACCOUNT_WISHLIST - assumed 'HEADER_ACCOUNT_WISHLIST' (this will throw an Error in a future version of PHP) in /home/q4p7grzvy49t/public_html/includes/languages/english/modules/navbar/nb_wishlist.php on line 16 [17-Mar-2020 08:26:56 UTC] PHP Fatal error: Uncaught Error: Call to a member function count_contents() on null in /home/q4p7grzvy49t/public_html/includes/modules/navbar/templates/tpl_nb_wishlist.php:3 Stack trace: #0 /home/q4p7grzvy49t/public_html/includes/modules/block_template.php(14): include() #1 /home/q4p7grzvy49t/public_html/includes/modules/navbar/nb_wishlist.php(51): include('/home/q4p7grzvy...') #2 /home/q4p7grzvy49t/public_html/includes/modules/content/navigation/cm_navbar.php(60): nb_wishlist->getOutput() #3 /home/q4p7grzvy49t/public_html/includes/system/versioned/1.0.4.0/osc_template.php(147): cm_navbar->execute() #4 /home/q4p7grzvy49t/public_html/includes/template_top.php(58): oscTemplate->getContent('navigation') #5 /home/q4p7grzvy49t/public_html/product_info.php(24): require('/home/q4p7grzvy...') #6 {main} thrown in /home/q4p7grzvy49t/public_html/includes/modules/navbar/templates/tpl_nb_wishlist.php on line 3
  9. discxpress

    Wishlist For Phoenix

    @tmcca @LeeFoster the wishlist button on product_info adds the item to cart. Has this issue been solved? I'm using latest version of Phoenix and php 7.3 I'm curious. Is the code for Wishlist button correct?
  10. Hello. Are you planning to release to public or for your purposes? I'm seeking a basic wishlist addon and maybr add a few features Thanks
  11. @raiwa do you know of any known conflicts with Phoenix 1.0.5.0 or any of Jack's addons like Header Tags SEO, Ultimate SEO Urls or Sitemap SEO? The reason I ask is when I add a product to cart, I fill out the form then check the Google Recaptcha box then click continue button I'm taken to login.php page. Or maybe there's an issue with recaptcha...
  12. Yes I have PWA Keep Account module installed. When you have time check for yourself https://melophilemp3.com/account_pwa.php Thankd for your time
  13. @raiwa I use the latest version of Phoenix and latest version of PWA. When completing the form on account_pwa.php and click the continue button it just refreshes and return to the same page. Please advise what needs to be checked. Thanks.
  14. discxpress

    Instant Discount

    @Jack_mcs great addon from a legend. Maybe on a future update you can do this: 1. customer enters website from search engine 2. on the product page is a badge "X% off click here" displayed in clear view with your timer 3. visitor click on badge and a box pops up 4. visitor enters email address and instant discount applied 5. have an instant and future customer signed up for future offers. A great way to build email marketing list 6. use a cookie to identify customer so the discount is one time An example is here. Let me know your thoughts
  15. discxpress

    Anyone made a module for Afterpay or Zippay (Australia)

    @douglaswalker @frankl @rudolfl Klarna is an alternative to Afterpay and Zippay. They offer access to developer documents online. I'm not sure if they support Australia merchants. Here's a link to developer's page: https://developers.klarna.com/?_gl=1*1asjdvl*_gcl_aw*R0NMLjE1Nzg0NzEwNzIuQ2owS0NRaUE5ZER3QlJDOUFSSXNBQmJlZEJOcG82MTc2QVhpN2pveEh4Z29PRWc4UW5QS2MtdjlmWmdDd1ZzUWJ1S0xxSFF3emRwNm01b2FBbzRjRUFMd193Y0I.&_ga=2.75802005.1420519424.1578470704-1587031907.1578470704&_gac=1.80163941.1578471148.Cj0KCQiA9dDwBRC9ARIsABbedBNpo6176AXi7joxHxgoOEg8QnPKc-v9fZgCwVsQbuKLqHQwzdp6m5oaAo4cEALw_wcB
  16. Ok I can't get the PWA block to appear on the login page
  17. @raiwa I tried again and no luck. I downloaded version PWA_Phoenix_4.0.1 and installed files from Phoenix_1.0.4.0+ You can see the version that say installed in the screenshot
  18. Yes it's the same for Stripe
  19. I've already checked. Stripe is not on there
  20. @JcMagpie I use Stripe Payments SCA. I believe Stripe install session ID cookies on my site. Does this support Stripe?
  21. @raiwa Thanks I will try again. What is the latest version for Phoenix?
  22. Ok. It didn't happen until I installed PWA
  23. @raiwa i couldn't get PWA to work so I tried to remove it and now I'm getting a database error. Thanks
  24. @raiwa I'm using the latest version of Phoenix. The PWA form does not appear on login page. I have it installed in admin. Is there anything else I should check? Thanks
×