Jump to content

Melan

Members
  • Posts

    5
  • Joined

  • Last visited

  • Days Won

    1

Current Mood

  • No Mood Set
    No Mood Set

Melan last won the day on October 20 2023

Melan had the most liked content!

Invision Community

  • IC Version
    N/A

Melan's Achievements

  1. Thank you for your guidance and help. It is currently working smoothly. Respects...
  2. Really thank you so much. As you said, it works smoothly for products that do not have extra settings. However, unfortunately it does not work for products where there are renewals and a custom field. I would be grateful if you could help me in this regard. Respects...
  3. I worked on this today, but I couldn't succeed completely. When I click on a link like the following, it takes me to the cart page but does not add the product to the cart. I'm not sure where I'm making a mistake. Can you help me solve this problem? http://www.site.com/purchase.php?id=2 My code <?php $_SERVER['SCRIPT_FILENAME'] = __FILE__; $path = ''; $_GET['app'] = 'nexus'; $_GET['module'] = 'store'; $_GET['controller'] = 'cart'; require_once $path . 'init.php'; if (\IPS\Request::i()->id) { $_SERVER['HTTP_REFERER'] = ''; $disp = \IPS\Dispatcher\External::i(); \IPS\Request::i()->csrfKey = \IPS\Session::i()->csrfKey; $disp->run(); } else { die("No ID passed"); } exit();
  4. Thank you for your kind response. To be honest, I don't have much experience in this regard. Could you please share the complete working code whenever it's convenient for you? Respects...
  5. I found such a topic on the official site. https://invisioncommunity.com/forums/topic/410594-send-visitor-to-forum-with-specific-theme-selected/?do=findComment&comment=2723035 <?php $_SERVER['SCRIPT_FILENAME'] = __FILE__; $path = ''; $_GET['app'] = 'core'; $_GET['module'] = 'system'; $_GET['controller'] = 'theme'; require_once $path . 'init.php'; if (\IPS\Request::i()->id) { $_SERVER['HTTP_REFERER'] = ''; $disp = \IPS\Dispatcher\Front::i(); \IPS\Request::i()->csrfKey = \IPS\Session::i()->csrfKey; $disp->run(); } else { die("No ID passed"); } exit(); Can a product from the store be added directly to the card using a similar method? How should I go about this? Thanks already for your help.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.