Jump to content

PunkAssWhiteBoy

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • First Name
    Dj
  • Last Name
    Hi-Tek

PunkAssWhiteBoy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello guys, I want to output HTML to the head of a page, but I need to handle all sorts of hooks first to determine whether the cart has changed, the viewed product has changed or an order has been issued by the frontend user etc. What I do at the moment is: 1. I let PS handle appropriate hooks (productTab, orderConfirm, etc.) and gather this information 2. hookDisplayFooter is called and outputs appropriate HTML based on the gathered information into the footer Now I want to do this in the <head> tag, but I need to wait for all hooks to run before outputting anything. So my question is: Is there a possibility to append HTML to the head of a PS page that is not using JS? I suppose I can check for changes in the displayHead hook, but that seems like it would generate a lot of overhead. Maybe you guys have any suggestions?
×
×
  • Create New...