Find Jobs
Hire Freelancers

Fix php, jquery code for magento 1.9 store

$10-30 AUD

Selesai
Dibuat lebih dari 4 tahun yang lalu

$10-30 AUD

Dibayar ketika dikirim
I have a magento 1.9 store that I have made a custom piece of code to show a 360deg image in an iframe. I have managed to get the iframe to show on the product page but it has a few issues that I need help to fix. this should be fairly easy but a little past my novice rank with coding. The current code has a foreach loop that shows the images for any specific product. 1. I need the link for the image to show at the end of the foreach loop. My attempts to just add after <?php endforeach ?> ends with the thumbnail endlessly looping as it thinks its still part of the carousel css. Adding it outside makes it not part of the carousel. I need it to add to the very end of the foreach loop as the last item if the statement exists. 2. once the thumbnail is loaded i would like the link to the iframe show in the .product-image div replacing the default image. here is the code that I currently have )but not working yet) I am attempting to add a couple of new elements to a Magento 1.9 image carousel on the products page. Ideally I would like to add at the end of the foreach loop but whatever I do it just keeps duplicating the div... The second issue is that I am having trouble getting the content of the div to show in the class="product-image" div on the product page. My goal is to show thumbnail image at the end of the loop array and when you click on the thumbnail image it shows the content of the iframe in the div "product-image". I have tried various bits of JavaScript but I can't get it to work. Also after trying to add to the end of the loop I have just ended up putting it on the outside of the div as there is other jQuery actions going on here that are forcing the new div I add after endforeach to duplicate endlessly. Goals: show thumbnail at end of loop link on thumbnail shows iframe in <div class="product-image"> Here is the code I have hacked... You must excuse me as I am complete novice at this and can read PHP Java ok but creating new code is a different story. <div class="more-views additional-carousel"> <?php $sliderFor = 4; $productCount = count($this->getGalleryImages()); ?> <div id="additional-carousel" class="<?php if ($productCount >= $sliderFor){?>product-carousel<?php }else{?>products-grid<?php }?> <?php if ($productCount <= 1): ?>mobile-tablet<?php endif; ?>"> <?php foreach ($this->getGalleryImages() as $_image): ?> <div class="slider-item"> <div class="product-block"> <a href='<?php echo $this->helper(' catalog/image ')->init($_product, 'image ', $_image->getFile())->resize(768);?>' class='cloud-zoom-gallery lightbox-group' title='<?php echo $this->escapeHtml($_image->getLabel()) ?>' rel="useZoom: 'zoom1', smallImage: '<?php echo $this->helper('catalog/image')->init($_product, 'image', $_image->getFile())->resize(768);?>' "> <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(768); ?>" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /> </a> </div> </div> <?php endforeach; ?> </div> <!-- if spinzam id exists in attributes--> <?php if ($_product->getData("spinzam_id") == true):?> <!-- thumbnail for spinzam link--> <div class="slider-item"> <div class="product-block"> <a href="#" onclick="??"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(150); ?>"/> <div class="uk-overlay uk-position-bottom product-block"> <p>360</p> </div> </a> </div> </div> <!--content to add to .product-image div--> <div id="spinzam" style="display:none;"><iframe src="[login to view URL]<?php echo $_product->getData(" spinzam_id ")?>" scrolling="no" style="max-width:100%; max-height:100vw;"></iframe> </div> <?php endif;?> </div>
ID Proyek: 20439202

Tentang proyek

8 proposal
Proyek remot
Aktif 5 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
Hello, I have gone through your requirements as you are looking for the Full Stack developer. I have a +8 year of experience working with magento php with all other cms . I have knowledge of HTML, CSS, jQuery, AJAX, PHP etc. Based on my expertise and long-term experience, I can guarantee an extraordinary result within the anticipating time. Our aim is to provide you with the highest possible level of service in everything we do for and with you. Customer care is our highest concern . in magento i did all types of customization. integration of all types of api like face book , instagram etc. updates from old version to new version and also security patches to make site secure . My recent work in Magento 1 and Magento 2: ====================================== [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] [login to view URL] dvantages of Hiring Me: "I can dedicate 8 hours/day and 40 hours/week for your job" "I have Excellent English communication skills;n Regards
$70 AUD dalam 2 hari
4,8 (247 ulasan)
7,2
7,2
8 freelancer menawar dengan rata-rata $53 AUD untuk pekerjaan ini
Avatar Pengguna
Hello Sir, I have read your job description regarding I have 6+ year of experience in this field. I have strong expertise to accomplish this project in decided time frame. Let's discuss in detail so that we never skip basic thing during project implementation. Thanks & Regards
$70 AUD dalam 3 hari
4,8 (129 ulasan)
6,1
6,1
Avatar Pengguna
Hey, I am a Senior Web Designer & Developer and I have over 3 years of experience in UI/UX Designing, HTML5/CSS3, JavaScript, JQuery, Bootstrap, WordPress & PHP, I am online and available let's discuss the project. Thank you Best Regards ASAD
$20 AUD dalam 7 hari
4,9 (9 ulasan)
3,2
3,2
Avatar Pengguna
Hi, How are you doing today? I'm an expert who has 8+ years of experience with web development and design. I'm confident in HTML, CSS, Javascript, jQuery, Cpanel, SEO optimization, Plugins, and PHP. I've read your description and checked the code for show thumbnail at end of loop. I can do this job and deliver you a proper working code code. Let me know your project in more detail. I can start right away. Thanks Sachin
$20 AUD dalam 7 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera AUSTRALIA
Brisbane, Australia
5,0
17
Memverifikasi Metode pembayaran
Anggota sejak Mar 14, 2014

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.