Jump to content

sinopia

Members
  • Content count

    180
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

4,264 profile views
  1. sinopia

    SEO Friendly Urls - a new approach

    Hi @gadlol thank you for your quickly answer. I'll send you a message right now. About the alias something like define for multiple language (I guess it's possible to do it). Example: mystore.com/specials mystore.com/es/especiales mystore.com/pt/especiais All for specials.php file.
  2. sinopia

    SEO Friendly Urls - a new approach

    Hi @gadlol Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/xxx/public_html/includes/classes/seo_friendly_urls.php on line 380 while ( $loop && ( ( $option = each( $children[$parent] ) ) || ( $parent > $root_id ) ) ){ What is the best approach to replace the each? Versions from 7.0 get that warning.. Really wanted to upgrade PHP to the new version. Also for the alias pages is there any way to add a functionality for multilingual alias? Best regards
  3. sinopia

    Easier Attributes

    Hi @Jack_mcs the osC version weren't but I've updated it manually since the owner/item got removed from themeforest. Probably that's the best thing to do. But for now just needed to really clean a few old products options/attributes. That's only what I need to do. Probably best thing to do is to code something that would clean the product options as their respective linked attributes.
  4. sinopia

    Easier Attributes

    Sorry to answer now. @Jack_mcs I see. Just needed to remove old product options and their respective attributes linked to products. @ArtcoInc let's say it's unofficial release (bought it at themeforest...). Jack I'm using jquery-1.11.1.. can this be related to anything? Because at devtools it shows this line dataArray[0] = 'delete_options'; as "unreachable code after return statement" also this: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience For more help http://xhr.spec.whatwg.org/
  5. sinopia

    Easier Attributes

    2.3.4 - PHP 7.2
  6. sinopia

    Easier Attributes

    Even removing this, shows "OK [object Object]" but options keeps to exist.
  7. sinopia

    Easier Attributes

    I can't remove any product option as their attributes unreachable code after return statement easier_attributes.php:182:2 ( dataArray[0] = 'delete_options'; ) Shows: "OK undefined" Ups: didn't read the last post sorry!
  8. sinopia

    Custom Product Builder of OSc BS

    Anyone has a demo or prints to see how this works?
  9. sinopia

    Free shipping with other options

    I mean.. $order->info['shipping_method'] - which contain a string with description of shipping module; $shipping['id'] - contains a string "spu_spu" for Store Pickup, "flat_flat" for Flat Rate shipping. well $order->info['shipping_method'] works but show the description, I found to use $shipping['id'] - needed to add global $shipping: function confirmation() { global $cartID, $cart_PayPal_Standard_ID, $customer_id, $languages_id, $order, $order_total_modules, $shipping; But it works fine.
  10. sinopia

    Free shipping with other options

    I've saw now that orders paid with PayPal are not showing the shipping_module at table orders. I've the recent version of PayPal App (using Standard) but it's missing 'shipping_module' => $shipping['id'], as checkout_process.php has.. It shows the price of shipping at orders_total but not the shipping module selected.. To fix just need to add 'shipping_module' => $shipping['id'] In this case? will variable $shipping['id'] work or it should be 'shipping_module' => $order->info['payment_method'] To get the respective module used?
  11. sinopia

    Free shipping with other options

    well seems to work as it should thanks @greasemonkey
  12. sinopia

    Free shipping with other options

    Well.. I've disabled free shipping at ot_shipping.php and added flat with 0.00€ for national only and if ( ($this->enabled == true) && ($order->info['subtotal'] < 29.90) ) { $this->enabled = false; return; } and zones with: if ( ($this->enabled == true) && ($order->delivery['country_id'] == STORE_COUNTRY) && ($order->info['subtotal'] > 29.90) ) { $this->enabled = false; return; } It seems to work, I've to test now if it's everything correct.
  13. sinopia

    Free shipping with other options

    v2.3.4 - I know it should be updated, but the website is currently live with a lot of traffic and also a lot of core changes, it would take a bit to get the last version (but of course everything should be always updated..) I use ot_shipping.php for free shipping in orders over 29,90€. Zones for national and internacional (free shipping is only for national) and Table for a express shipping only for national. By default is total is less than 29,90€ is show both options (Zones and Table - which is correct) but then is total is more than 29,90€ it only show the free shipping (if national) but I wanted to show the table module even if free shipping is avaliable. I tried to edit checkout_shipping.php to display all options it kinda works but then the radio buttons doesn't work properly. I think it's something related with with javascript code because I get: Uncaught TypeError: Cannot set property 'checked' of undefined And also tried to disable zones for national when the option free shipping shows (because it's the same delivery and there's no need to show to select that option when it's free..)
  14. sinopia

    Free shipping with other options

    @greasemonkey thank you for you answer. I tried to display free shipping (if over 30) and all other options, and then disabling zones with: if (($order->delivery['country_id'] == STORE_COUNTRY) && ($order->info['total']) > 29.90) { $check_flag = true; } if ($check_flag == false) { $this->enabled = false; } It kinda works... But the radio button stop to working correctly and I can't figure it out.. Wanna check my checkout_shipping.php?
  15. sinopia

    Free shipping with other options

    I'm having some issues in the radio buttons now... The selectRowEffect works but the input is now selected/checked and at the checkout_confirmation.php I get always the free shipping option by default.. Any suggestion how to fix this?
×