Jump to content
thirty bees forum

x97wehner

Trusted Members
  • Posts

    474
  • Joined

  • Last visited

  • Days Won

    21

x97wehner last won the day on February 21

x97wehner had the most liked content!

Recent Profile Visitors

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

x97wehner's Achievements

Collaborator

Collaborator (7/14)

  • Dedicated Rare
  • Reacting Well Rare
  • Conversation Starter
  • First Post
  • Collaborator Rare

Recent Badges

104

Reputation

1

Community Answers

  1. Sharing this since I finally had time to look into the problem and figure out the issue of not all Stripe payment methods appearing on their hosted checkout page. If you're using the TB Stripe module, you likely noticed that with update to version 1.8 a while back, that you were no longer seeing all the payment methods you selected on your Stripe dashboard available in the hosted checkout page. This was a problem as we couldn't get Afterpay or Cash App to show up for customers to select. They are enabled on the Stripe dashboard, but not in the hosted checkout. Anyway, here is a band-aid fix until our TB dev's have time to properly adjust the module. You just need comment out a couple lines in the file StripeApi.php public function createCheckoutSession( Cart $cart, string $methodId, array $methods = [], array $paymentMethodOptions = [] ) { $context = Context::getContext(); $total = Utils::getCartTotal($cart); $validationLink = Utils::getValidationUrl($methodId); /* if (! $methods) { $methods = [ \Stripe\PaymentMethod::TYPE_CARD, ]; }*/
      • 1
      • Thanks
  2. I'm on Warehouse on PHP 8.2 after some manual work to update. Not sure you'll be able to get it anymore though. I believe Panda is likely the most flexible theme available that is mostly configuration and not coding if that's what you're looking for https://www.sunnytoo.com/product/panda-creative-responsive-prestashop-theme . I'm not sure on their PHP compatibility but I remember them being quick to respond when asked. I believe I last tested it on 8.1 and it worked.
  3. I realize this is an old thread, but it was relevant to me to remove invoice attachment in all scenarios, but still generate the document for customer access on the web, to ensure optimum email delivery with our domain (Since huge amounts of emails with attachments are a big spam flag). I resolved with this override based on a post I found on the web. (Don't judge my code please 😉) It takes an override of the PaymentModule.php file in classes/module/. Lines 695-698 below are modified. PaymentModule.php
  4. Hello, I am using the @datakick module for product feeds to google and others. As part of this, I wish to submit additional images to the feed. Because it is XML, there has to be a line for each additional image in the feed in format <g:additional_image_link>https://www.example.com/image2.jpg </g:additional_image_link> <g:additional_image_link>https://www.example.com/image3.jpg </g:additional_image_link> The problem is that for some products there is 1 additional image. For others, there are up to six. Questions: - Is there a dynamic way to setup the template so that it understands how many additional images there are and inserts a line for each? - Or, more likely, if I insert a line for each manually in the template and select to omit blanks, how do I formulate the code so that it grabs the next available image for each xml line? I appreciate the assistance.
  5. I did something a little different, but similar within the warehouse theme. It's not perfect, but works pretty well still. It's a construct of CSS and JS primarily on the radios. It was with @wakabayashi's help. You can see the result here https://twighockeycompany.com/hockey-sticks/senior-sticks/rogue-c-hockey-stick-senior document.querySelector('#buy_block').addEventListener("click", function(event) { updateLabelsSelectedClass(); }); updateLabelsSelectedClass(); function updateLabelsSelectedClass() { var attributes_options = document.querySelectorAll('#attributes input'); if (attributes_options) { attributes_options.forEach(function (element) { var label = element.closest('li').querySelector('label'); if (label) { (element.checked) ? label.classList.add('labelSelected') : label.classList.remove('labelSelected'); } }) } }
  6. Hi, Every free shipping customer facing module I've ever seen only shows the free shipping amount target in the shop's default currency or that value currency converted. What we really seek is the ability to show a specific free shipping target amount in the currency the customer is using. We have one shop, it is not multi-store. I can make the backend work correctly already for providing free shipping, but the front office customer display does not work this way. What I mean is this: Free shipping at are store is order amounts of EUR € 100, USD $ 100, and CAD $ 150. As you can calculate, these are not even currency conversion calculations so using the default currency conversion doesn't work. We have the back end setup to handle this correctly for orders. But I want to show the customer how close they are to this amount on the front end. Have a module that just converts our default currency for this, doesn't work since they are static amounts and conversion amounts aren't applicable. Has anyone seen a module that can handle this display type well?
  7. This ended up being a TB bug in BE that @datakick resolved quickly. Thanks again for the fast resolution.
  8. I was able to validate that this is only happening on bleeding edge. I flipped it back to 1.5 stable and it works perfectly. Update to the latest bleeding edge, and I get the same issue. There is nothing being logged in the tb /log directory or on the collectlogs module. This has only been an issue since I updated to bleeding edge about two weeks ago and remains an issue with the latest update. It appears to be a bug in the latest tb updates. Any idea what could be causing it @datakick?
  9. And this is the snippet of code driving the error message: <?php /** * Smart Popup (Newsletter Popup) * * @author Rolige <www.rolige.com> * @copyright Since 2011 Rolige - All Rights Reserved * @license Proprietary and confidential */ require_once dirname(__FILE__) . '/../../../config/config.inc.php'; require_once dirname(__FILE__) . '/../../../init.php'; require_once dirname(__FILE__) . '/../rg_smartpopup.php'; $module = new Rg_SmartPopup(); if ($module->active && $module->public_key == Tools::getValue('public_key')) { $json = Tools::file_get_contents('php://input'); $data = json_decode($json, true); if (!$data || !isset($data['rgsp_id']) || !isset($data['rgsp_token'])) { RgSpTools::log('Subscription: Data error', $data); die(json_encode([ 'result' => RgSpSubscriber::RESPONSE_ERROR, 'msg' => $module->l('An unexpected error occurred, please try again later.', 'subscription'), ])); }
  10. We use pop up module by Rolige, https://addons.prestashop.com/en/promotions-gifts/41771-smart-popup-newsletter-popup.html. It has worked great for years, but with the latest bleeding edge update, we now get the below error. I checked with the developer and he, as I expected, will only provide minimal support since this is not actually prestashop. He did advise that this issue is usually caused by a permissions issue. His actual words "file permissions, be sure that all your files are accesible, normally 0755 for directories and 0644 for files." My question is likely for @datakick, but is there something related to newsletter subscriptions that would have changed in the latest bleeding edge versions and would have caused this issue? If so, ho would I resolve it? I appreciate the help.
  11. Twig Hockey Company https://twighockeycompany.com
  12. You'll either have to adopt a weight-based shipping price model or a dollar based price model. You can set the price for each weight tier or dollar tier according to where a second bag would fit into it.
  13. Personally, I manage my ads independently with each media tool. They all have different ad needs and campaign structures and I'm relatively familiar with them so I just do it myself and bounce around. Hubspot is the tool I'm most familiar with, but it's generally priced for larger businesses (Which I am not.)
×
×
  • Create New...