0

I need create hole punch for Bundle product options. Whenever any bundle item stock becomes out of stock, Admin needs to clean cache every time to get the reflection.

I have tried by following code but I am not getting success.

<placeholders>
   <catalog_product_view_options>
      <block>catalog/product_view_options_type_select</block>
      <template>catalog/product/view/options/type/select.phtml</template>
        <placeholder>VENDOR_CATALOG_PRODUCT_OPTIONS_CACHE_PUNCH</placeholder>
      <container>Vendor_Punch_Model_Container_Options</container>
      <cache_lifetime>0</cache_lifetime>
    </catalog_product_view_options> 
  </placeholders>

I have also tried with

<action method="setCacheLifetime"><s>null</s></action>

<action method="setCacheLifetime" />

Can you help me to make hole punch for bundle product options? Thank you in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.