Be sure to checkout our newest add-on, Speedy — Advanced Caching for ExpressionEngine.

Compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field (it's in the works).

Ticket: Speedy Fragment Caching with Expresso Store Add to Cart Form

Status Resolved
Add-on / Version Speedy 1.0.1
Severity
EE Version 5.3.0

Jarod Clark

Dec 16, 2019

Hello, we have a very specific instance we are hoping to use Speedy with. The client has required we build an ecommerce layout with multiple categories and showing all products for each category in a table format similar to a bulk order form. There are thousands of products in some of these, so performance naturally is poor (which we advised the client it would be).

In an attempt to speed that up, we are hoping we can get Speedy to work with caching that portion of the page. I have a fragment tag around the content, which works great, except for one of the hidden fields added with the forms for the action. This is being cached as:

<input type="hidden" name="ACT" value="{AID:Store:act_checkout}" />

instead of with the value for the action id (in this case 31). This results in the forms only working on the first page load and not after refreshing.

We are using the Expresso Store module for the ecommerce functions.

Any help or suggestions on how to get this working is greatly appreciated.

#1

BoldMinded (Brian)

Dec 16, 2019

Is the action always 31? If that is the case why not just hard code 31? It’s probably not working because Store needs to parse that variable but if it is cached it can’t parse it. Could try using an escape tag around it too.

#2

BoldMinded (Brian)

Jan 12, 2020

Hi, Jarod. I’m going to close this b/c it’s been nearly a month with no response. If you need to re-open the ticket you can.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.