Jump to content

Psytanium

Members
  • Content count

    476
  • Joined

  • Last visited

  • Days Won

    4

Psytanium last won the day on December 21 2018

Psytanium had the most liked content!

2 Followers

About Psytanium

  • Birthday 12/06/1982

Profile Information

  • Real Name
    Psytanium
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, If a guest user added a product to the shopping cart, the data like product ID and quantity are stored in database table sessions. For some reasons, I need to add to the stored data for e.g. products_price or products_model. Can someone help me with this ? Thanks
  2. Is there any documentation or forum topic that can help us migrate from 2.3.4 to the latest version ? Because I can't start a new website with all the hardcoded modifications and huge database. Thanks
  3. Ah yes.. I'm worried about this upgrade. Thx anyway
  4. PHP Version 5.6.40 MySQL 5.6.47-log OSC2.3.4
  5. OSC 2.3.4 How can I fix the notices ? instead of hiding it ?
  6. Hello, Suddenly, without installing any addon or modifying anything, the website is showing "Notice: Undefined variable" in many front and back end pages, I think it's because the server did upgrade. What could be the solution ? For e.g. Notice: Undefined variable: data1 in /home/domain/public_html/includes/modules/boxes/cm_nivo_slider.php on line 84 Notice: Undefined variable: button_act7 in /home/domain/public_html/includes/modules/boxes/cm_user_menu.php on line 86 Notice: Undefined variable: button_act6 in /home/domain/public_html/includes/modules/boxes/cm_user_menu.php on line 87 it looks like if the variable is empty, then a notice will appear. it wasn't like this before. Any idea please ?
  7. Any suggestion please ? I can install other modules, but this one i can't.
  8. Psytanium

    Shopping cart content class

    Any solution please to split the cart content in shopping cart ?
  9. Psytanium

    Shopping cart content class

    Thank you for explaining this issue, in the file i want to modify this function : function count_contents() { // get total number of items in cart $total_items = 0; if (is_array($this->contents)) { reset($this->contents); while (list($products_id, ) = each($this->contents)) { $total_items += $this->get_quantity($products_id); } } For some reasons, i want to count specific file and do something similar to function count_contents() { // get total number of items in cart $total_items = 0; if (is_array($this->contents)) { reset($this->contents); while (list($products_id, ) = each($this->contents)) { // modification to count specific products if ($this->contents[$products_id]['newfield'] == 1) { $total_items += $this->get_quantity($products_id); } } } any possible solution ? thanks btw i didn't find includes/action in my directories, i'm working on 2.3.4
  10. Psytanium

    Shopping cart content class

    Hi, In shopping_cart.php class, i can find $this->contents[$products_id]['qty'], but where did it get its value ? possible to create $this->contents[$products_id]['price'] ? Thank you
  11. When i install this module i get this error : 1364 - Field 'configuration_title' doesn't have a default value insert into configuration ( configuration_key, configuration_group_id, sort_order, use_function, set_function ) values ( 'MODULE_SHIPPING_MZMT_LANGUAGE_FILE_TEST', '6', '0', 'tep_cfg_mzmt_language_file_check', 'tep_cfg_do_nothing(' ) On OSC2.3.4
  12. Psytanium

    Wrong redirect after add to cart

    This is exactly the same add-on I'm using, but for 2.3.4, the modal don't show without page loading.. The page load, this mean we still need PHP_SELF to get back to the same page. I tried to replace in application_top case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1); } } tep_redirect(tep_href_link($goto, 'products_id=' . $HTTP_GET_VARS['products_id'])); break; with this : case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'])); } else { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1); } } tep_redirect(tep_href_link($_SERVER['REQUEST_URI'])); break; but when i click Buy Now button, the page keep redirecting and looping until i find 22 of the same item in terh shopping cart. Can i using $_SERVER['REQUEST_URI'] in the redirect ?
  13. Psytanium

    Wrong redirect after add to cart

    This is exactly the same add-on I'm using, but for 2.3.4, the modal don't show without page loading.. The page load, this mean we still need PHP_SELF to get back to the same page.
  14. Psytanium

    Wrong redirect after add to cart

    The thread you sent me is for login modal, I'm looking for shopping cart modal when users click the Buy Now button. You think we can find one for osc2.3.4 ?
  15. Psytanium

    Wrong redirect after add to cart

    @peterpil19 do you know any addon to make the shopping cart popup as modal ? im using eCommerce 2.3.4 Because i rolled back the original file modified for SEO URL 5, and htaccess cleared but still having this problem. Maybe i leave the problem as it is but use a modal for the shopping cart when Buy Now is clicked. Thanks
×