-
Posts
500 -
Joined
-
Last visited
-
Days Won
27
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by x97wehner
-
Oh dear lord.... this will be awesome once its functioning correctly. I'll test and follow up.
-
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
-
-
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.
-
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
-
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.
-
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'); } }) } }
-
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?
-
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?
-
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'), ])); }
-
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.
-
Twig Hockey Company https://twighockeycompany.com
-
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.
-
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.)
-
I don't believe you'll find it's that easy. The whole digital ad space changes so often that it takes a third-party software to help you build and manage the ads in the format you are inquiring about. You can use the @datakick module to get your product feeds flowing into all those services and that will give you a nice head start. From there you can either utilize each service to build your ads independently, or you can utilize a third party software that allows you to do the same in a more uniform format.
-
Chex module - customized product details display issue
x97wehner replied to x97wehner's question in Module help
That's unfortunate. I really hampers the customer experience not seeing that customization they are ordering during checkout. Thank you for the response. -
Chex module - customized product details display issue
x97wehner replied to x97wehner's question in Module help
@datakick, making sure you see as I expect you can advise the quickest. Is there a way to get that customized product data to show in chex below the product in cart, similar to what it is doing above? -
Hello, @datakick or @haylau or anyone else, I've become aware that the chex module does not appear to show customized product data in the cart as nearly all other great carts do. Is there an easy way to do this? I'm referring to the screenshot of giftcard information below from the regular tb One page checkout.
-
I don't believe there is any custom sort method.
-
One more question for you @datakick. I've updated to PHP 8.3 now and all is functioning correctly. When I review error logs though, I have many deprecation warnings around controllers::$admin_webpath making dynamic properties. Is there an easy fix to resolve those? Here is an example of just one:
-
Thanks so much!
-
Hi, I have a module with a php 8 error that I just can't figure out how to resolve. I'm sure it's very easy, but I'm struggling. Anyone know how to resolve? @datakick? This is the error: This is the code snippet causing issue: public function __get($name) { if ($name === 'module') { return $this->module = Module::getInstanceByName('rg_smartpopup'); } if ($name === 'popup') { if (!(int) $this->id_popup) { throw new PrestaShopException('The property `id_popup` is required.'); } return $this->popup = new RgSpPopup((int) $this->id_popup, (int) $this->id_lang); } return parent::__get($name); // Ensure compatibility with ObjectModelCore }