News:

Looking for documentation? Take a look on our wiki

Main Menu

Link price to eBay

Started by jbx007, June 03, 2016, 17:41:54 PM

Previous topic - Next topic

jbx007

Look I apologize ahead of time for my ignorance, I did read as much as I could to figure how to do this but I am coming up with nothing. Maybe I am not understanding the terminology? I know a micro spec of php and will not bs you all.

The reason I want to link to ebay is I need to figure how to completely set the store up and  get a SSL certificate up ....then get away from ebay in the future, but time is a factor which I do not have a lot of right now.

I see in the product description there is a field for url. I put the link of ebay in there but for some reason I do not see a link on the page of my website.

So again, I apologize for the rookie question and if it is covered in a topic I did use the search function on this site to no avail.

Please help me out

I am using the latest version of VM, 3.0.16

Thank you folks!

-jim

GJC Web Design

The field just stores the link in the DB

you need to display it if thats what you want or redirect to etc

e.g.

in productdetails template default.php add an over ride

<?php
    
// Product Url
    
if (!empty($this->product->product_url)) {
?>

        <div class="product_url">
    <?php
    echo 
'<a href="'.$this->product->product_url.'" class="ebaylink">See product on Ebay!</a>';
    ?>

        </div>
<?php
    
// Product Url END
?>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jbx007

Thank you! I will give that a try.