How can I change the link add to cart button?

More
5 years 7 months ago #37695 by post98
hi

When I'd click on the "add to cart" button for the address to point to "Google."

I do not want to address the point "virtuemart"

What should I do?

Thank you.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #37696 by ivan.milic
please explain better????????????

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago - 5 years 7 months ago #37698 by post98
When i click on the "add to cart" (button) , i want it to be directed to my own products page ,which i've created it with Gallery Component ,it goes to virtuemart while, as i said it should be directed to my own product page

(components/com_virtuemart/views/productdetails/tmpl/default_addtocart.php)

<span class="addtocart-button">
<?php echo shopFunctionsF::getAddToCartButton ($this->product->orderable);
  // Display the add to cart button END  ?>
something similar to that.

<a href="yourwebsite.com/thelinkyouwanthere.php">Buy Product</a>

<span class="addtocart-button">
<a href="yourwebsite.com/thelinkyouwanthere.php">Buy Product</a> </span>

But my problem is that the address is different for each product with other products


Thank you
Last edit: 5 years 7 months ago by post98.

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #37700 by ivan.milic
can we see site?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #37701 by post98

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #37702 by ivan.milic
Check under :

\templates\hot_watches\html\com_virtuemart\productdetails\

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.135 seconds