Jump to content


Popular Content

Showing content with the highest reputation since 08/18/2019 in all areas

  1. 8 points

    List of my Phoenix compatible Addons

    Phoenix ready Addons: The following free Addons are updated for Phoenix and available on the Marketplace: Spanish Language Pack: https://apps.oscommerce.com/f8hiQ&espanol-para-osc-ce https://github.com/raiwa/OSCOM-CE-Phoenix-Spanish-language-idioma-espanol Recently Viewed Products: https://apps.oscommerce.com/z7iA8&recently-viewed-products-ce Related Products: https://apps.oscommerce.com/y0rDZ&related-products-ce Featured Products: https://apps.oscommerce.com/TyAIr&featured-products-bs&p=2 Holiday Message: https://apps.oscommerce.com/G3NiL&holiday-promotional-message-ce Shop by Price: https://apps.oscommerce.com/Lia0H&shop-by-price-ce Wholesale Lite https://apps.oscommerce.com/VWUpG&wholesale-sppc-lite Discount Codes https://apps.oscommerce.com/iIUE4&discount-codes-bs Checked and compatible with Phoenix: Slim Checkout: https://apps.oscommerce.com/pgaC2&slim-checkout Modules Control: https://apps.oscommerce.com/FM65c&modules-control Coming soon: KissIt Image Thumbnailer only one small update needed see: https://forums.oscommerce.com/topic/388022-kissit-image-thumnailer/?do=findComment&comment=1790276 PWA (Purchase without account – Guest Checkout) QTPro Reviews Navbar Header Module Store Hotline Store Mode Sloppy Words Cleaner I’ll keep this lists updated when I’ll have ready new modules for Phoenix
  2. 6 points

    Ancient Coin Traders - Phoenix

    Dear All, My website has been upgraded to Phoenix (latest version). www.ancientcointraders.com It was previously Edge BS3 (pre-frozen). Main improvements are: 1. much faster 2. new features in Phoenix (sitewide hooks, modular shopping cart, product_info pages, improved modules etc.) make life easier. 3. Bootstrap 4 has much neater ways of doing things than Bootstrap 3. Shorthand classes in particular make things cleaner and simpler. Bootstrap 4 is also mobile first. A special thank you to @burt for accepting my request to assist me with what was a very quick 'migration' to Phoenix. This involved starting off fresh with Phoenix, making change and cleaning up all my blundered custom 'coding' from my BS3 installation. Thank you also to @burt for keeping the project alive. I have done a lot of comparisons recently against other open-source and commercialised shopping cart software. I also habitually look closely at any website I am on as I am sure many others here do. Phoenix holds its own against most others. You can get a nice-looking website up and running fairly quickly from scratch. Happy as always for any feedback or areas of improvement. Regards, Peter Note: I could not edit my original post on this board for some reason, so happy of course for them to me merged if a moderator obliges.
  3. 6 points

    Phoenix Announcements

    Phoenix Join the Phoenix Club https://forums.oscommerce.com/clubs/1-phoenix/ This Update Fixes bug in one of the product listing files - TY @raiwa for heads up Deprecate custom.css - A few HTML changes in some files to accommodate this Fixes bug in data-price in a couple of places - TY @raiwa for heads up Adds RU language fileset link in Readme - TY @Fredi Update FA - To 5.10.1 Fix Sort By Bug in products_new.php - TY @Heatherbell for heads up Modernise Reviews - Deprecate reviews.php - Deprecate product_reviews_info.php - Remove links to the above pages - Prettify and Pre-install Reviews module on product_info.php - Move "write review" into /ext/ - Make stars "gold" Update Version - To Special Thanks to Forum members for constructive feedback and bug hunting to Phoenix Club members for constructive feedback on the new Layout to @cupidare @raiwa @Fredi for maintenance of language filesets Notes for Language Maintainers @cupidare DE @raiwa ES @Fredi RU /includes/languages/english.php /includes/languages/english/modules/boxes/bm_reviews.php /includes/languages/english/modules/content/footer_suffix/cm_footer_extra_copyright.php /includes/languages/english/modules/content/product_info/cm_pi_reviews.php /includes/languages/english/modules/content/reviews/write.php How to update ZIP FILE, easy upload. Find out what version you are on now; admin > tools > version checker, then perform the necessary updates; Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes Make sure you have applied the hotfixes All previous hotfix zips are listed in this thread. EG, if you are on, you must perform hotfix to the latest listed hotfix, then; Apply the changes -> Read and perform the "if updating an existing phoenix" section DOWNLOAD AND INSTALL FULL VERSION You could simply download & install the latest full v1.0.2.1 https://github.com/gburton/Responsive-osCommerce/tree/ COMMIT BY COMMIT (MANUAL CHANGES) to https://github.com/gburton/CE-Phoenix/compare/ WHAT IS SIMPLEST I suggest the simplest way (assuming you are on is to grab the zip, unzip it, and upload the files. If Updating an Existing Phoenix Make sure that you have first updated fileset to (by either manual commit, or uploading zip), then, doing this in order; 1. Install New Modules There are no NEW modules to install 2. Uninstall Existing Modules Completely turn off (uninstall), if you have them installed Admin > Modules > Content > Reviews Button Admin > Modules > Navbar Modules > Review Link 3. Reinstall Existing Modules Completely TURN OFF (uninstall) and THEN TURN ON (reinstall) the following module(s); Admin > Modules > Boxes > Reviews aka bm_reviews Admin > Modules > Content > product_info > Reviews aka cm_pi_also_purchased 4. Delete Obsolete Files includes/languages/english/modules/content/product_info/cm_pi_review_button.php includes/languages/english/modules/navbar_modules/nb_reviews.php includes/languages/english/product_reviews.php includes/languages/english/product_reviews_write.php includes/languages/english/reviews.php includes/modules/content/product_info/cm_pi_review_button.php includes/modules/content/product_info/templates/tpl_cm_pi_review_button.php includes/modules/navbar_modules/nb_reviews.php includes/modules/navbar_modules/templates/tpl_nb_reviews.php product_reviews.php product_reviews_write.php reviews.php custom.css 5. Run SQL There is no SQL that needs to be changed. Enjoy!
  4. 4 points

    Product Page Layout

    Product Page Layout is in finalised testing; https://template.me.uk/phoenix/product_info.php?products_id=3 This all-new system allows millions (that is not an exaggeration) of layout possibilities, all easily set up by shopowner.
  5. 3 points

    Phoenix Announcements

    Phoenix Thank You to Phoenix Club members for making the hard work much easier. https://forums.oscommerce.com/clubs/1-phoenix/ Demo Site: https://template.me.uk/phoenix/index.php This Update; align items in form TY @raiwa add extra siteWide hook call TY @raiwa modernise radio modernise tickbox Disallow non-buyer ability to write review TY @Heatherbell Update FontAwesome to latest version Add New Password Forgotten Module Fix Manufacturer Info sidebox Allow Shopowner to choose layout of Sub-Category List Fix output of category description TY @Moxamint Minor updates to some boxes Update version to SQL to run prior to update INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Allow all Reviews?', 'ALLOW_ALL_REVIEWS', 'false', 'Allow customers to leave reviews on all products (true) or only on products they have purchased (false)', '1', '22', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now()); How to Update if on Download this Zip: Unzip it Upload it Go to admin > tools > security checks and correct any listed problems How to Update if on earlier version Find version you are on Go back through this discussion and perform updates to get to Then follow "how to update if on" instructions After Update Install new "Forgot Password" content module (login) Uninstall AND then Re-Install "Sub Category List" content module (index_nested) Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into this update - OR - You can download and install a brand new clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix choose "download zip" unzip, upload, install After New Installation is complete Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into
  6. 3 points

    Stripe v3 module for SCA

    Many thanks for the feedback. I've made changes which I think address all issues raised so far: update all SQL to use actual table name instead of string constant add javascript to 'footer_scripts' template block, so loaded after jQuery in Phoenix and remove $ undefined error javascript error add Bootstrap classes to form controls to improve appearance in Phoenix, and fix card element not being visible in Phoenix hide 'add card' prompt in payment form when token save configuration is false stop logging to event table when configuration logging setting is false set module public title to 'Credit Card (Stripe SCA)' so enabling multiple credit card modules is less confusing fix save card icon display in Phoenix 'my account' page remove configuration option to validate CVC, as card fields are managed by Stripe The updated module is attached. It has been tested on both an old Bootstrap osCommerce site and a current Phoenix, 1.02, site. If you do not see the card number, expiry and CVC in the order confirmation payment form, please check the browser console for any javascript errors. jQuery must be loaded before the payment module script in the page source. If you enter card details and the page hangs with the payment button disabled, please check the browser console for any javascript errors. If that's ok, check the latest rows in the stripe_event_log table. If there is not an entry for the action 'ajax retrieve', that suggests that the server hook https://yourstore.url/ext/modules/payment/stripe_sca/payment_intent.php is not accessible. Check the URL in your browser for any errors. It should show the response ' {"status":"fail","reason":"No intent id received"} '. If the payment is processed, and the checkout success page is displayed, but the order is not complete, first check the Stripe dashboard to see if the payment was processed. If ok, check the webhook events in the stripe Developer page. It will show the response received for each webhook attempt, and may show PHP errors in the response. You may need to copy and paste to a notepad to view the messages more easily. Also check the latest rows in the stripe_event_log table. There should be a series of rows for the actions: 'webhook', 'webhook process payment', 'webhook processOrder', 'webhook updateOrderStatus', plus messages for 'webhook createCustomer' and 'webhook saveCard' if token saving is enabled and the 'save card' check box was ticked in the payment form. Check that the server hook https://yourstore.url/ext/modules/payment/stripe_sca/webhook.php is accessible. If you enter the URL in your browser, you should get a blank page displayed with no errors. stripe_sca_v1.0.1.zip
  7. 3 points
    Last two months have flown by. Phoenix is now even better than when it was launched on July 4th. Thanks to all who support the project, provide code, provide feedback and constructive criticism etc
  8. 3 points

    Phoenix - Dutch Language Set

    Check this: https://github.com/Denkster/OSCOM-CE-Phoenix_Dutch_language_Nederlandse_taal
  9. 3 points
    Updated PWA Purchase without account 4.0.0
  10. 3 points
    Anyone else wanting to use this on Frozen, just download and install as normal but just don't use the site wide hook and use this template file insted of the one in the download for includes/modules/content/footer/templates/ tpl_cm_footer_modal_cart.php
  11. 2 points

    Stripe v3 module for SCA

    I have created a fork of the standard Stripe payments module to provide support for SCA. I tried uploading it to the market place, but it does not seem to be accepting it. A copy of the zip is attached. Stripe SCA Payment module Stripe SCA is a refactored version of the standard Stripe payments to update the Stripe API to v3 and support the SCA process flow. Other than using different Stripe API calls to set up and process payments, the main change is to defer order fulfillment to a web hook called by Stripe after the payment has been authorised. This module is installed as a separate payment method from the standard Stripe module and can be run in parallel. Note that it shares the customer_stripe_tokens table created by the standard Stripe module, and cards saved using the standard Stripe module can be reused by the Stripe SCA module, however, cards stored by the Stripe SCA module cannot be reused by the standard Stripe module. They will be rejected by Stripe with a message 'You cannot create a charge with a PaymentMethod. Use the Payment Intents API instead.' Install Copy the contents of this zip to the root osCommerce folder of your store. Login to the osCommerce Admin page of your store and go to Modules > Payment. - Click on the Install button at the upper right of the page - Choose 'Stripe SCA' from the module list and select Install Module. If you are allowing cards to be saved, add the cards management page: - go to Modules > Content - click on the Install Module button at the upper right of the page - select 'Stripe SCA Cards Management Page' and select Install Module. That will add the 'Manage saved payment cards' link to the customers' My Account page. Configuration The basic configuration of the Stripe SCA module is the same as the standard Stripe module, requiring Publishable and Secret API keys, however as the order fulfillment has been moved to a webhook, you need to add the address of the Stripe SCA webhook at your store to your Stripe account dashboard, and add the webhook signing secret it generates to the Stripe SCA payment module configuration. Login to your account at the Stripe web site, and select Developers > Webhooks - select '+ Add endpoint' at the upper right of the page - set the URL to: https://yourstore.url/ext/modules/payment/stripe_sca/webhook.php - select version as 'Latest API version' - select event 'payment_intent.succeeded' and 'payment_event.payment_failed' - click 'add endpoint' to save the webhook endpoint. Then select the new endpoint URL from the list of end points, and then 'click to reveal' to see the Signing Secret. Copy and paste the text of the signing secret to the Webhook Signing Secret in the Stripe SCA module configuration form. The Stripe SCA module adds a log table, stripe_event_log, to the database, and if you select 'Log events?' in the Stripe SCA configuration, it will record each Stripe API call with the parameters that are passed to Stripe and the response received. As the process flow has changed to use a web hook, the order has to be created in a pending state, and then updated to completed status after the payment has been authorised. Consequently, you need to set the new order status to 'Preparing [Stripe SCA]', and the order status is set to the status the order is to be set to, after the payment is authorised. Technical Notes The current stripe-php library, as at module publish date, has been included in in the module install. Calls to the Stripe library functions have replaced directly sending transactions to the Stripe gateway. You should be able to replace the includes/modules/payment/stripe_sca folder with the complete contents of the stripe-php library when Stripe releases updates to their library. If you do so, set the new API version in includes/modules/payment/stripe_sca.php. The Stripe v3 process flow now requires a PaymentIntent to be created before the payment page is displayed, and a 'data secret' it generates to be included in the HTML form. If a saved card is used, the Stripe customer id and payment method id has to be added to the PaymentIntent. During coding, it was found that a payment method could not be removed from a PaymentIntent, so rather than update the PaymentIntent with a server call as the saved card/new card is selected, the adding of the customer and payment method is deferred until immediately before submitting the payment to Stripe in a Javascript call when the form is submitted. The payment_intent.php server hook is also used to save the value of the 'save card' check box in the PaymentIntent so it is accessible to the webhook called after the payment is authorised. Stripe v3 provides UI elements to collect card details. A 'card-element' element is required for the new card to show card number, expiry and CVC fields, but is also required for saved cards in order to provide a place holder that Stripe can use to display authorisation prompts if required. Consequently, two occurrences of the 'card-element' element were created with the name of each toggled depending on whether a saved card or new card is selected. Otherwise, trying to reuse the same element for both purposes block the authorisation of saved card when the new card details was hidden. All order fulfilment and card saving code has been moved to ext/modules/payment/stripe_sca/webhook.php. Note the DIR_FS_CATALOG constant should be set to a path string, rather than the value dirname($_SERVER['SCRIPT_FILENAME']) . '/' because the includes/modules/payment/stripe_sca.php has a require that references the stripe-php library, and is executed at different locations in the directory structure and fails when the DIR_FS_CATALOG value varies with location. stripe_sca_v1.0.zip
  12. 2 points
    @Chadduck 1) As you have identified, there is no shipping_usps.gif file in the add-on bundle. Fortunately, you already had one from a prior live store. For anyone else trying to get this to work with Phoenix, here's the file: 2) In the stock installation of Phoenix, there is no /images/icons folder. With that, there is also no DIR_WS_ICONS definition in the configuration file(s). To correctly use the shipping_usps.gif file, you need to: a) Create a /images/icons folder b) Copy the shipping_usps.gif file into this folder c) In includes/modules/shipping/usps.php , find $this->icon = DIR_WS_ICONS . 'shipping_usps.gif'; and change it to: $this->icon = 'images/icons/shipping_usps.gif'; Obviously, you could use any other folder you want to store the .gif file. Just update the path to point to the file's location. If you did not have a copy of the shipping_usps.gif file, you could try to use the font awesome icon. The link Zahid gave above is wrong. His is a link to the UPS icon, not the USPS icon. The correct link is: https://fontawesome.com/icons/usps?style=brands However, the USPS module stores everything in an array (including the location of the icon), and I could not just substitute the Font Awesome link for the location of the .gif file. HTH M
  13. 2 points
    The code in Phoenix has been updated, but the functionality is the same. The USPS module uses arrays to store the values you are having problems with. Stock osC does not handle arrays, so we need to make some changes to make that happen. The change to modules.php is a key part of that. In Phoenix, find this code: if (tep_not_null($action)) { switch ($action) { case 'save': foreach ($_POST['configuration'] as $key => $value) { and add this line immediately after that: if( is_array( $value ) ) $value = implode( ', ', $value ); That should fix the problems on the Admin side. You will need to uninstall and reinstall the module for this to work. I haven't tested this module with Phoenix, so there may be other changes needed. Regards Jim
  14. 2 points

    Product Page Layout

    Quite out of date as this was v1 of the system. But it shows the general idea.
  15. 2 points
    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.
  16. 2 points
    Uploaded update for Phoenix: Purchase without account 4.0.0 Changes Version. 4.0.0 - Updated for Phoenix 2 versions included: Phoenix and lower: old review write page "reviews_write_pwa.php" Phoenix 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
  17. 2 points

    Duplicate order mail

    I found the error . in the email class the addresses were not cleaned up
  18. 2 points
    did a quick check and it work on Frozen BS3 you can see it on this site It's will need few tweeks. The main one is to replace the site wide hook by adding the scripts in it into the template file. Then it's just css fixes to get display as you need it.
  19. 2 points
    Sure I use big images and have no optimzation on the test sites.
  20. 2 points
    Updated: KissIt Image Thumbnailer
  21. 2 points
    JcM Header Carousel Banner V1.0 Phoenix This is a header add-on that lets you place a carousel banner at the top of your site. This makes use of the stock banner manager that comes with osC. It will show 4 banners. It requires core changes so only use if you are happy to make these. A modification is required on the admin side to display the banner id’s in the banner manager so you can select which to display. You can do a file compare or simply replace the files with those provided. In public_html/admin/banner_manager.php around line 320 find <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_GROUPS; ?></td> and below this add, <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ID; ?></td> around line 349 find <td class="dataTableContent" align="right"><?php echo $banners['banners_group']; ?></td> and below this add, <td class="dataTableContent" align="right"><?php echo $banners['banners_id']; ?></td> Then in /public_html/admin/includes/languages/english/banner_manager.php at the end of the file just before the ?> add define('TABLE_HEADING_ID', 'Banner ID'); That’s it for the core changes. Now simply install and turn on like any other add-on. Once it’s installed simply go to admin tools/banner manager and add your banners. Make sure to add it to the header group or it will not work. These can be text or images just follow instructions in admin. Remember to add your URL link for each banner or you will get a 404 error. Select the banner id’s to be shown in the new banner manger and enter them in admin. These are the banners that will then be displayed in the carousel. The overlay text for each banner can be set in the language file. You can also select which pages it is to be shown on. That’s it enjoy. It has only been tested on Phoenix only. Can be seen working on this custom test site setting banners. the display that's it enjoy!
  22. 2 points
    JcM index products page title V1.0 A simple add-on to let you display an image with the page title on indexed product pages. This will display the category image and the manufactures image. You can turn image off in admin and select left or right positions. The image size can also be changed. Again totally stand-alone with no core code change. Simply copy all files into relevant sections and go to admin and install. Can be seen on this test site Can be seen on this test site Has been texted on Phoenix only
  23. 2 points
    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
  24. 2 points

    Discount Code BS

    Update uploaded with the above fix: Discount Code 5.1.1. Phoenix For CE Phoenix 1.0.x.x (At least up to 1.0.2.x.) Please apply this fix also to previous versions. (replace only ot_discount.php module) Older versions, FROZEN, EDGE and Gold BS3, please use Discount_Codes_4.4.3_BS Version 5.1.1 Phoenix Changes: - Fix for negative order total showing if fixed amount discount is bigger than order subtotal. Thanks to @Omar_one for the report and testing
  25. 1 point

    [Tips and tricks] GTIN

    GTIN and EAN and UPC are all the same thing... I *think* - recall looking into it quite deep before i coded it into osc, but that was a few years ago so memory hazy.