Jump to content

raiwa

♥Ambassador
  • Content count

    4,713
  • Joined

  • Last visited

  • Days Won

    157

Everything posted by raiwa

  1. Uploaded Versión 1.0.7.14 for OSCOM CE Phoenix 1.0.7.14 1.0.7.14. Phoenix
  2. raiwa

    [Contribution] Ship In Cart

    If it is not possible/doable to retrieve the state in the canada shipping module, try this version which sets it also on first time load: cm_sc_shipping.php
  3. raiwa

    [Contribution] Ship In Cart

    Hi @gsmiley007. The store country and store zone is used by default. This is the order object available in the shipping modules on first time load: order Object ( [info] => Array ( [subtotal] => 8.99 [total] => 8.99 [currency] => USD [currency_value] => 1.00000000 ) [totals] => Array ( ) [products] => Array ( [0] => Array ( [qty] => 1 [name] => Grapefruit [model] => GPF-1 [price] => 8.9900 [final_price] => 8.99 [weight] => 0.40 [id] => 8 [tax] => 0 [tax_description] => Unknown tax rate ) ) [customer] => Array ( ) [delivery] => Array ( [postcode] => 75203 [city] => Sant Iscle [country] => Array ( [id] => 223 [title] => United States [iso_code_2] => US [iso_code_3] => USA ) [country_id] => 223 [format_id] => 2 [zone_id] => 18 ) [billing] => Array ( ) [content_type] => physical [id] => ) As you can see $order->delivery['country']['id'] and $order->delivery['zone_id'] is set. I believe zone code or name should be retrieved in the shipping module. Other shipping modules are doing this.
  4. Wholesale (SPPC lite) Simplified SPPC module, easy modularized installation. For Bootstrap and Standard osc 2.3.4. See develop topic: http://forums.oscommerce.com/topic/408481-sppc-lite/ Features: Posibility to asign customers to the wholesaler group Define individual wholesale prices to each product Optional tax exempt wholesalers Optional define individual wholesale prices to attributes Optional define global wholesale percentage discount to all products and attribute prices The global wholesale discount will not apply to products and attributes which have individual wholesale prices defined Optional setting to apply special price instead of wholesale price if the special price is lower than the wholesale price or discount. Optional payment and shipping modules Exclusion lists for Wholesalers and Retailers. Header text module to show different info text for guests, retailers and wholesalers. The texts are editable for each store language in the module settings. By default: Guests: no text Retailers: “Welcome to your Retailer Account.<br>Please <a class="btn btn-info btn-xs" role="button" href="contact_us.php">Contact Us</a> to apply for a Wholesaler Account. See <a class="btn btn-info btn-xs" role="button" href="conditions.php">Conditions</a>.” Wholesalers: “Welcome to your Wholesaler Account.<br>You can see your Wholesaler Prices on the Product Page and they will apply when you add the products of your choice to the Shopping Cart.” Product Info Content module to show the wholesaler price in addition to the normal price on the Product Info Page Only 2 Store file modifications. application_top.php one line added. Optional product_info.php attribute block modified to show wholesale attribute price. 3 admin files modified, categories.php, customers.php and product_attributes.php. Modified files for 2.3.4 standard, Bootstrap Gold and Bootstrap Edge included. The wholesale prices will be automatic applied when adding a product to the Shopping Cart. This is done via shopping cart class extension, no file modification needed. All database modifications and language definitions are integrated in the modules. Optional database columns removal to keep existing entances when removing the module NOTE: If you need more than one wholesaler group or other additional features, please consider to use the old, full version SPPC: http://addons.oscommerce.com/info/716 Thanks To @@greasemonkey for the initial idea, support, comments and testing To @@burt for the initial guideline exposed in the forum and his database installation-removing code examples used in the store module To @@wHiTeHaT for his help with the shopping cart class extension To @@Tsimi, @@Gergely, @@John W and @@14steve14 for their support, comments and testing Download: http://addons.oscommerce.com/info/9416
  5. Nice, I'll test and consider it for the next update.
  6. This is the new support thread for: KissIT Image Thumbnailer Phoenix and KissIT Image Thumbnailer CE
  7. raiwa

    Wholesale (SPPC lite)

    Hi Lorraine, You are lucky that I found a 5.0.0 test installation. Everything works like expected: Screenshot for retailer/not logged in customer with lemons set to $0 retail price and $5 for wholesaler: screenshot for wholesaler: Please check your installation.
  8. raiwa

    [Contribution] Ship In Cart

    Uploaded: Ship In Cart Phoenix 5.3 Compatibility: OsC CE Phoenix 1.0.5.1+ Tested with Phoenix 1.0.7.13/1.0.7.14 pre release PHP: 7.0 - 7.4 Changes Vers. 5.3: - Added optional City input required for some shipping modules. - Fixed wrong cart global to session. - tested with Phoenix 1.0.7.13 and 1.0.7.14 pre release.
  9. raiwa

    [Contribution] Ship In Cart

    only: ./includes/modules/content/shopping_cart/cm_sc_shipping.php the other language file is different, just open both and you'll see. Please use the below new version and follow the update instructions. You need to switch on state, zip and city in the settings. To show a quote on first time page load, fill in a default zip and city. The customer_id error must be addressed in the canadapost shipping module. @zipurman did it i the newest version 2.1.1. Make sure you are using that one. If all the required fields are filled in, it shows the quote without login.
  10. raiwa

    [Contribution] Ship In Cart

    @gsmiley007, Here is the updated cm_sc_shipping.php : cm_sc_shipping.php you need to uninstall/reinstall the module. city and subtotal are now available in the shipping modules. Please try and let me know .I'll then upload tomorrow the updated package.
  11. raiwa

    [Contribution] Ship In Cart

    Hi @gsmiley007, @zipurman, Working on the ship in cart update I found that an error was introduced in one of the last updates. $GLOBALS['cart'] is wrong, it should be $_SESSION['cart']. Thats why $order->info[subtotal] is not set in the shipping modules, even it is set in the ship in cart module. To fix it, just replace for now in cm_sc_shipping.php all instances of $GLOBALS['cart'] with $_SESSION['cart'].
  12. raiwa

    [Contribution] Ship In Cart

    Hi Guy @gsmiley007, It's not that ship in cart changes the core $order object. Ship in cart creates the $order object already in the shopping cart where core doesn't have it created yet. Once the customer logs in, all indexes are correct created and there is no problem at all. The problem you report appears because ship in cart creates the $order object for not logged in customers with a minimum of indexes to show shipping costs. It works perfect for most shipping modules, but of course, if a specific shipping module requires additional indexes, they must be created specifically for this shipping module, I had a deeper look and yes, the $order->info['subtotal'] index is not available yet for the shipping modules, because the order total module loads after the ship in cart module. You can fix it using $_SESSION[cart]->show_total() instead of $order->info['subtotal'] if it is not set. Please ask @zipurman if he can do it and test it for you. Other shipping modules (fedex for example) use also $_SESSION[cart]->show_total(). There may appear also incompatibilities with other addons like the admin order editor. I have no canadapost account and can't test it. But something like this should do it: line 59 change to: 'total_value' => (isset($order->info['subtotal'])? number_format( ceil( $order->info['subtotal'] ), 2, '.', '' ) : number_format( ceil( $_SESSION[cart]->show_total() ), 2, '.', '' )), Or wait for the next update, I can then set $order->info['subtotal'] like this in the ship in cart module. For the city input, please wait a couple of days for the next update, I'll add it for you. best regards Rainer
  13. raiwa

    [Contribution] Ship In Cart

    @gsmiley007, Please confirm that you need the city input. I'll then consider it to be added in the next update.
  14. raiwa

    Store Pickup shipping module Phoenix

    Uploaded Store Pickup 2.1 with the above fix: Store Pickup 2.1 changes v.2.1: - updated for Phoenix 1.0.7.13+ - fixed error messages if modul doesn't qualify (error == true)
  15. Store Pickup V. 2.0 Store Pickup Shipping Module Phoenix changes v.2.0: - updated for Phoenix 1.0.7.3+ - updated to abstract_shipping_module - updated language files to const - added tax option Compatibility: Phoenix 1.0.7.3+ Tested with Phoenix 1.0.7.10 PHP 7.4 based on store pickup v1.7r2: Store Pickup Shipping Module
  16. raiwa

    [Contribution] Ship In Cart

    Subtotal: You need to have the order totals module installed. I checked and $order->info[subtotal] is set. State and Postal code gets set when the update button is submitted. You may add a text to make it more clear. City is not available for guests/not logged in users. Not sure why it is needed. Postal code should be enough to retrieve a quote. I you get a quote retrieved without it, just ignore the notice error. customer_id has already been discussed in the other thread. All notice errors can be ignored/supressed output or catched/checked if they are set in the shipping module.
  17. raiwa

    Copy Script Issues

    Ok, but where is $row[categories_id defined?
  18. raiwa

    Copy Script Issues

    If this is your entire script, there is no form which submits the categories_id. Or add a form with an input field or selection for it. Or hard code the id for the category you wish to apply: Anyway the variable as used in your query doesn’t look correct. Maybe do it directly in the database with an sql script.
  19. Uploaded update with the above fixes for Phoenix 1.0.7.13: KissIT image thumbnailer 3.5.1 Requires Phoenix 1.0.7.4+ Tested with Phoenix 1.0.7.13 Change log 3.5.1: - cast to int image width and height Change log 3.5.0r1: - updated gallery modules for Phoenix 1.0.7.13. - fixed error in admin thumbs category hook. Thanks to @Denzel - updated pi gallery module to abstract_module Change log 3.5.0: - moved and cleaned up thumbs subdirectory creation and removed unnecessary .htaccess. Thanks to @vmn - fixed error in admin thumbs showing duplicated images in product and category listing. Thanks to @Denzel - added support for webp image format - updated pi gallery module to abstract_module - Added optional convert jpeg, png and gif images to webp thumbs (Pro Version)
  20. Yes, if it's ok for your needs.
  21. Yes, it is intended. It's supposed you wish to show the full original image size in the pop up. Only if watermark is used, KissIt will produce a new "thumb", but also in the original image size. There is no "cache" effect, the original image is there and does not need to be "cached" in the thumbs folder.
  22. raiwa

    AJAX Attribute Manager support

    Posted 4 hours ago Hi Marcelo, Please provide the following details: - your exact shop version - your exact attributes manager version Please read this topic (Phoenix club): or if you have no access to the Phoenix club:
  23. Uploaded update with the above fixes for Phoenix 1.0.7.13: KissIT image thumbnailer 3.5.0r1 Requires Phoenix 1.0.7.4+ Tested with Phoenix 1.0.7.13 Change log 3.5.0r1: - updated gallery modules for Phoenix 1.0.7.13. - fixed error in admin thumbs category hook. Thanks to @Denzel - updated pi gallery module to abstract_module Change log 3.5.0: - moved and cleaned up thumbs subdirectory creation and removed unnecessary .htaccess. Thanks to @vmn - fixed error in admin thumbs showing duplicated images in product and category listing. Thanks to @Denzel - added support for webp image format - updated pi gallery module to abstract_module - Added optional convert jpeg, png and gif images to webp thumbs (Pro Version)
  24. Hi Dennis, Your solution includes other customizations like the product model and I believe you posted the wrong line which adds {$products_model}. It should be {$products_thumb}. Please post generic solutions for a unmodified installation, not custom solutions. What works for me is this: $('table tbody td:has([href*="pID={$products_id}&"])').parent().find('th').not('.pname').addClass('pname').before('<th class="pname">{$products_thumb}</th>'); Thank you 😉
  25. Hi Marcelo, Please post in the support topic: Please provide the following details: - your exact shop version - your exact attributes manager version Please read this topic (Phoenix club): or if you have no access to the Phoenix club:
×