Jump to content
Latest News: (loading..)

sinopia

Members
  • Content count

    123
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

1,132 profile views
  1. sinopia

    Custom Product Builder of OSc BS

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

    Group products in product_info.php

    Hi @14steve14, I've found one that I'll try to merge into product_info.php but requires a lot of modifications: Trying to create a new product and in administration panel will relate it with for example 2 that already exists. It'll show as a normal product but with two inside it. With their respective attributes and prices as in the image on attachments. But the issue is that probably I just can buy one per one.. Don't know how really could group them into one... Unless I disable the buy now button and use my custom attributes with the inputs of those products...
  3. sinopia

    Group products in product_info.php

    I've found this from Prestashop. Think this as what I'm talking about. Imagine the components like processor, memory, etc is another products that are being selling separated. In case some products have more that 1 attribute it'll show separate (ex: you can choice memory of disk but also if you want HDD or SSD for example..)
  4. sinopia

    Group products in product_info.php

    I was thing a easy way.. When buying one it'll sent using ajax and a popup will appear asking if they want the other product.. But doesn't seems correct. Other is create one product and to use like Option Type with some inputs/dropdowns and it'll save the record into database and then I set as a attribute in database. Perhaps as there is a lot of different attributes and basically I've to create also a lot of them.. I think best way is to group them. Any advice?
  5. Hello, I've been searching but didn't find anything, also I do have some questions what's the best to do this.. In my store I'm selling products separated but some could be sold together. Kinda of related products but it shows 2 forms of the product with attributes (which I use a lot). I can be selling a laptop separate or which another product for example a mouse and pad. All of them if attributes for all products (ex: processor of laptop and color of pad). Or for example a T-Shirt for boyfriend and another for girlfriend (color and size for each one). I guess I could simply create one product with a lot of attributes but there should be a easy way. I create a new product with name, images, description and it will get the products I choiced with already their respective attributes, and they will show on product_info.php together. If someone is willing to help me I could easily (if successed) to create a addon for everyone.
  6. sinopia

    PayPal Installation to OSC v2.3.4 Problems

    Are you using lastest PayPal app?
  7. 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.
  8. 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?
  9. sinopia

    Free shipping with other options

    well seems to work as it should thanks @greasemonkey
  10. 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.
  11. 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..)
  12. 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?
  13. 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?
  14. sinopia

    Free shipping with other options

    I could set it working as I needed. Few changes on checkout_shipping.php, disabling zones for country store when it's free, but now I've to fix the radio buttons...
  15. sinopia

    Free shipping with other options

    @ArtcoInc I completly understand, and I'm thank you that you're answering me. But I've change already to have compatibility with PHP 7, it works everything fine. The issue is only about the shipping.. Just needed to set free shipping only for zones (only country zone because I've also foreign) and keep always table module...
×