Support » Plugin: CTX Feed - WooCommerce Product Feed Generator » Installment configuration for google merchant

  • Resolved guidomgs


    This plugin has the option to configure the installment tag for xml, but has no way to configure the installment calculation, is possible to set the amount of installments, but no the total price divided by the months.
    Is any way to workaround this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ohidul Islam


    @guidomgs Sorry for the late response. You can follow the code below to calculate the installment amount.

    function woo_feed_get_attribute_installment_callback($output, $product, $feed_config,$merchant_attribute){
    	if('google' === $feed_config['provider'] && 'installment_amount'===$merchant_attribute){
    		return $output/12;
    	return $output;
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.