@foreach ($pages as $page) @if ($page->pg_url === 'home') {{ url('/') }} @else {{ url('/') }}/{{ $page->pg_url }} @endif {{ $page->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($posts as $post) {{ url('/') }}/blog/{{ $post->blog_slug }} {{ $post->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($products as $product) {{ url('/') }}/{{ $product->product_url }} {{ $product->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($products_data as $products_data_new) {{ url('/') }}/{{ $products_data_new->product_data_url }} {{ $products_data_new->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($tbl_category as $tbl_category_data) {{ url('/') }}/{{ $tbl_category_data->pg_url }} {{ $tbl_category_data->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($subcategory as $subcategory_data) {{ url('/') }}/{{ $subcategory_data->sub_cat_url }} {{ $subcategory_data->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($locations as $location) {{ url('/') }}/{{ $location->pg_url }} {{ $location->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($locations as $location) @foreach ($products as $data) {{ url('/') }}/{{ $location->pg_url }}/{{ $data->product_url }} {{ $data->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @endforeach @foreach ($subdomain as $subdomaindata) {{ url('/') }}/{{ $subdomaindata->subdomain_slug }} {{ $subdomaindata->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @foreach ($subdomain as $subdomaindata) @foreach ($products as $data) {{ url('/') }}/{{ $subdomaindata->subdomain_slug }}/{{ $data->product_url }} {{ $data->created_at->tz('UTC')->toAtomString() }} daily 0.8 @endforeach @endforeach