Delayed site loading – sometimes….

Hello. Just upgraded to 2.4.7 and there is sometimes a delay in the site loading. I think there is a mistake in .htaccess set up of the cache so I ran it on redbot.org and received the following:

Content Negotiation(Content Negotiation response)

  • The resource doesn’t send Vary consistently.

Plus more but, I think this may be the cause of the “sometimes” delayed site load. Is there anyone that can give me some feedback on what I may need to change?

****No matter how I saved the file on Reddit – it would add a lot of spaces and turn plain text into hyperlinks. It is now on Google docs at: https://docs.google.com/document/d/1l2AkkityroEVuSSze0B4VawTfgP65DKwXpncr8pyDOU/edit?usp=sharing

submitted by /u/MageKnowledgeSeeker
[link] [comments]

Magento/Page Builder Help

I’m doing a lot of self-teaching with Magento.

What I’m trying to do right now is with page builder. I want my images to be aligned on both the top and bottom (so they are the same length on the page). I’ve tried uploading images that are all the exact same dimensions, but page builder keeps showing the far right image as a lot longer than all the rest, making my columns look awkward only being top aligned and the bottom are all different lengths. My columns are set to 4/4/5 (the one on the right being just barley wider than the others).

Can anyone help me please??

submitted by /u/Hungry_Inspector_732
[link] [comments]

Search results empty possibly due to patch to 2.4.5-p9

Sorry – cross posting from Stackexchange but client getting antsy and I’m stuck.

Patched a site from 2.4.5-p8 to p9 last week. Now the search is not returning any results. The search box uses MagePlaza Advanced Search which shows results in a dropdown and that works, but the actual results page has nothing. (eg https://www.website.com/catalogsearch/result/?q=tea)

  • Disabling that module changes nothing.
  • We have re-indexed and cleared/flushed cache a million times.
  • Also tested ElasticSearch which seems fine.
  • Also checked in product attributes that Name and Sku are set up for search, resaved that too. (this worked when we had this error back in January 2023, also following a patch)
  • Products are all set up for Catalog/Search.

Is there anything else we can test or try?

One thing is that at one point earlier in the week, a few days after the patch, SQL connection was lost for some reason and the whole site went down. When it came back there were no products in catalog pages until the ElasticSearch service was restarted – it had not restarted itself. The search issue was only spotted since then. No-one can say for sure whether the search was working before this ES issue happened, so we don’t know whether it’s a result of this or of the patch itself.

Thanks!

submitted by /u/InstructionOk94
[link] [comments]

FYI – Amasty have added extra DRM with their recent plugin upgrades

Spotted this when upgrading some plugins that we’ve been using for a while. It was bad enough that they switch to the subscription model with plugins we had purchased in the past and now they’re adding in extra DRM with an update to each plugin.

https://support.amasty.com/portal/en/kb/articles/i-see-messages-in-my-account-and-admin-area-that-license-registration-is-required-what-should-i-do#Your_amastycom_account

It’s frustrating as they’re one of the larger Magento plugin providers.

Any suggestions for others that have a good selection of products (and most importantly) responsive customer service? I’ve used too many smaller ones in the past with seemingly good plugins, but awful support if there’s an issue.

submitted by /u/antde5
[link] [comments]

Free Gift With Purchase Using Code (to track purchases) No discount

Hi, we want to run a social media add for a free gift with purchase. The consumer would receive 2 pre-selected items for free on orders over $250. We want to be able to track the success of the social media ad, so we don’t want this to be a blanket offer to just anyone who orders on the website.

Through Meta we can see for example, that the ad reached (made up numbers) 10,000 people and there were 500 clicks to the website…but we want to see that 25 people actually made a purchase and I feel like using a code would show that.

How can I set up a coupon code that doesn’t apply a discount, but just so that the order is notated with the code, indicating that they are ordering because of the social media ad??

submitted by /u/CM11182020
[link] [comments]

Looking for an allowance or gift card extension with specific functionality

We need an extension that will allow for the following. I realize that I won’t get everything on this list, but this is what we’ve outlined as a perfect model. If you have an opinion on an existing extension that gets us most of the way there and we could cross the finish line with some additional dev, that would be great.

* The user can pay for items with these funds (like a gift card or allowance)

* Unused value remains after a purchase

* Can set an expiration date on some portion of the value ($50 awarded today can expire on Jan 1, $50 awarded next month can expire on Feb 1, for example)

* Ties directly to a customer’s account

* Customer does not need to have an account in the store yet for them to receive their funds (can “link” the amount later via a code and store it in their account) – Our pain point in the past with this is that (using an allowance extension) if someone is awarded these funds but doesn’t yet have an account, we have to download, compare, upload in order to create a new user account for the users who don’t have an account already, then apply allowances for each.

* Funds can be used at checkout (FIFO), and additional balances should be able to be paid for via cc.

The way I’m thinking about it is Amazon’s gift card structure. By default, you have an Amazon Gift Card if you have an account and you can “reload” that gift card with other cards and that main card is directly linked to your account. So, whether or not a user has an account on the store doesn’t really matter, they can add their funds once they do. (The distinction I’m trying to make here is that you don’t have to “carry around” multiple gift card codes and use/ enter them in succession at checkout. They should be able to add funds to their master via a code…that money should be segmented (in transactions anyway), an expiration can be linked to any portion, and the money put in first is used first.

submitted by /u/turtledave
[link] [comments]

Payment page for offline orders

We are running a magneto 2 store and currently have different payment solutions integrated. Stripe, a b2b payment option and another points system. We have quite a lot of of “offline orders” because we sell high ticket items and many customers contact us because of they want an offer and so on.

Right now we create payment links via a 3rd party provider as Stripe doesn’t offer out of the box that payment links automatically get processed with offline orders and this payment provider does. However I would like to see that when we create these “offline” pending orders in magenta that we can send customers somehow a payment link that is exactly like our checkout. Is there any way to set this up as the orders are basically quotes already? Have anyone done this before or is there an extension that does this?

Basically I want to simplify the process for customers but also make it look better than what we have now.

submitted by /u/Dodiaa24574
[link] [comments]

Please upvote this PHPStorm ticket….

Hello,

if you work on virtual environments, which I figure most of magento devs do, and you use PHPstorm, you will 100% run into this issue

Since this bug has existed since 2020, they are likely prioritising on the number of upvotes.

IMO, this issue will become more and more prominent. It is a a huge annoyance, and should be fixed.

https://youtrack.jetbrains.com/issue/WI-56550#focus=Comments-27-10352778.0-0

Note: not interested in replies about changing toolset/stack, not using PHPStorm etc. You use what you use, and I use what I use. This is a bug, and should be fixed. Keep on topic 😉 and move along if this does not impact you.

submitted by /u/proxiblue
[link] [comments]

Magento testing env

I’m a student and I work on b2b store in Magento. I’m really struggling with my tasks, I have never learned Magento I only know PHP from one online course. I was tasked with creating Magento testing environment for the store. I can’t even picture how I would go about it or how It should work or look. It should be able to test new code and also simulate everything from erp and send requests to it without effecting the real store. Did anyone do something similar or have any idea or guidelines how I should go about doing that? Any help would very much be appreciate it.

submitted by /u/sub2napolitanka6000
[link] [comments]

Pagination with Knockout JS

i am creating a custom page in front-end that shows list of all products, now i need to create pagination with knockout js including ajax, i have data in json form but not showing product on the page i want. hope everyone can help me, i am newbie learning about Magento. This is my code: https://drive.google.com/drive/folders/1pcwMJo36z-1vOBnFs74XPexOgDLyiwdU?usp=sharing

submitted by /u/HwngTheRipper
[link] [comments]

Customizing the path product images are uploaded to (and thus their URL)

Hi everyone,

I’ve been scouring the web and the Magento core for a few days now, looking for a way to customize the pattern used to generate product image save paths in Magento 2, simply because the default paths (with the `getDispersionPath` subdirectories) are pretty bad.

It _seems_ like the logic behind this is not easily overridable or extensible, as it is dispersed across many different low-level core modules. The fact that I’m running Magento 2 headlessly and am using S3 + Cloudfront (through the `AwsS3` driver) to serve my images _might_ complicate matters further.

I’ve tried a few things so far to no avail:
– Override `MagentoCatalogModelProductGalleryProcessor`’s `addImage` method (defined in core at `vendor/magento/module-catalog/Model/Product/Gallery/Processor.php`)
– Override `MagentoCatalogModelResourceModelProductAttributeBackendImage`s `afterSave` method (defined in core at `vendor/magento/module-catalog/Model/ResourceModel/Product/Attribute/Backend/Image.php`)

I’ve also searched for all places where this `getDispersionPath` method is defined or called, but these are so deep down that it’s difficult to trace them back up to any high-level callers. Unfortunately, the `catalog/product/` string that’s hardcoded in the image paths is used in a multitude of places across the Magento core too, so no clear lead there.

Has anyone tried doing this before? Would you deem it worthwhile for me to continue looking for a durable solution, or should I best give up and keep the paths as is?

Thanks a lot for your time and wisdom.

submitted by /u/_dzn
[link] [comments]