News:

Support the VirtueMart project and become a member

Main Menu

Adding HTML/javascript path to product description/image

Started by nsepe, July 08, 2013, 20:14:29 PM

Previous topic - Next topic

nsepe

Hi there,

I would like to have this html/javascript/image series called up in my product description. It can be part of the description, but preferably in place of the image. I have no idea if this can be dome or is possible. Here is the html page:

http://casite-511697.cloudaccess.net/components/com_virtuemart/front-rotate-3D/sample.html

Anyone have any idea how I can do this in a clean way?

Thanks!  ???

Nancy


PRO

is this just 1 product?

how many slideshows do you have?

nsepe

Hi there! Thanks for responding to my question. It is just one product, though there will be another animation. The intention is for both "animations" to be viewable on this page above each product, respectively:

http://casite-511697.cloudaccess.net/index.php/products/copper/telco/512-ult-term-block

I am also open to having them viewed in each product page only, whatever works at this point I think I will be happy with!

FYI, I am using Joomla 2.5.4.

THANKS.  :)

Nancy

PRO


nsepe

Yes, this is the html:

      <!-- Begin 3D Fuze . Processed at http://fotofuze.com -->
      <div id='3EB93F8A-ADAC-11E2-906F-A7D920D14AE3' style='width:279px;height:280px;background-image:url(E67E6442-ADAD-11E2-B140-8FA0DE326AFC.jpg)'></div><script type='text/javascript' src='3EB93F8A-ADAC-11E2-906F-A7D920D14AE3.js' defer='defer'></script>
      <!-- End 3D Fuze -->

PRO


I am still not quite understanding, WHEN do you want them to show?
how do you want to differentiate when they show or do not show?

I wrote this little bit to show it BY product ID

I placed this code in my product template & it worked


  <?php
  if (($this->product->virtuemart_product_id==133) OR ($this->product->virtuemart_product_id==134)){?><div id='3EB93F8A-ADAC-11E2-906F-A7D920D14AE3' style='width:279px;height:280px;background-image:url(E67E6442-ADAD-11E2-B140-8FA0DE326AFC.jpg)'></div>
  <script type='text/javascript' src='3EB93F8A-ADAC-11E2-906F-A7D920D14AE3.js' defer='defer'></script>';
     <?php }?>

http://forum.virtuemart.net/index.php?topic=90935.0
http://forum.virtuemart.net/index.php?topic=92756.0

nsepe

Okay...I would like them to show where the "X" is in the attached 2 screen shots.



[attachment cleanup by admin]

PRO

thats on the category page & not the product page


place your code in the category descriotion.

Make sure your ojoomla editor allows for the code & does not strip it

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

nsepe