Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Bonesito777

Newbie
  
  • Posts

    1
  • Joined

  • Last visited

Bonesito777's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Здравствуйте возникла необходимость создать отдельную карту сайта изображений. Создал на основе обычной карты но вот как туда засунуть дополнительные изображения товара? foreach ($products as $product) { if ($product['image']) { $output .= '<url>'; $output .= '<loc>' . $this->url->link('product/product', 'product_id=' . $product['product_id']) . '</loc>'; $output .= '<changefreq>weekly</changefreq>'; $output .= '<priority>1.0</priority>'; $output .= '<image:image>'; $output .= '<image:loc>' . $this->model_tool_image->resize($product['image'], $this->config->get('config_image_popup_width'), $this->config->get('config_image_popup_height')) . '</image:loc>'; $output .= '<image:caption>' . $product['name'] . '</image:caption>'; $output .= '<image:title>' . $product['name'] . '</image:title>'; $output .= '</image:image>'; $output .= '</url>'; } }
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.