- Posts: 28
- Thank you received: 7
Help with product categories/ shipping customizati
- Dimi Ingle
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
13 years 1 month ago #787
by Dimi Ingle
Help with product categories/ shipping customizati was created by Dimi Ingle
Hi
On my categories/home/featured products page etc, how can I change it from saying "add to cart"? I want it to say "more info" and then when they click on the product page, they can "add to cart" there. The option from the default page doesnt add the product to cart so Im worried users will get confused and think its added when its not.
Then, on the categories page, how can I change it that when a reader clicks the image thumbnail from the cat they must be taken to the product, not shown the full size image? I dont mind if they can see full size image on product page, but not from the categories.
Lastly - with the shipping order form, Im setting my shipping that users cant input a shipping address - they can only add a "code" and which ever code they have entered, their products will be sent to that destination. Do you have any suggestions on how I can remove the "shipping address" (but leave the rep code feature available) from the form? I just want to illuminate any confusion.
Thank you!
On my categories/home/featured products page etc, how can I change it from saying "add to cart"? I want it to say "more info" and then when they click on the product page, they can "add to cart" there. The option from the default page doesnt add the product to cart so Im worried users will get confused and think its added when its not.
Then, on the categories page, how can I change it that when a reader clicks the image thumbnail from the cat they must be taken to the product, not shown the full size image? I dont mind if they can see full size image on product page, but not from the categories.
Lastly - with the shipping order form, Im setting my shipping that users cant input a shipping address - they can only add a "code" and which ever code they have entered, their products will be sent to that destination. Do you have any suggestions on how I can remove the "shipping address" (but leave the rep code feature available) from the form? I just want to illuminate any confusion.
Thank you!
The following user(s) said Thank You: makcim makcimov
Please Log in or Create an account to join the conversation.
- Linh Robert
-
- Offline
- Banned
-
Less
More
- Posts: 908
- Thank you received: 568
13 years 1 month ago #796
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Replied by Linh Robert on topic Re: Help with product categories/ shipping customizati
Hi,
To change Add to cart text to Details text, edit templates/ot_boutiquebox/html/com_virtuemart/category/default.php and find this code:
pls change to:
Thanks
To change Add to cart text to Details text, edit templates/ot_boutiquebox/html/com_virtuemart/category/default.php and find this code:
Code:
<?php // Product Details Button
//echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_CART_ADD_TO'), array('title' => $product->product_name,'class' => 'product-details'));
?>
Code:
<?php // Product Details Button
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
//echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_CART_ADD_TO'), array('title' => $product->product_name,'class' => 'product-details'));
?>
There is no solution for this now. You can go to VMED to fine some shipping module which fit your need.Lastly - with the shipping order form, Im setting my shipping that users cant input a shipping address - they can only add a "code" and which ever code they have entered, their products will be sent to that destination. Do you have any suggestions on how I can remove the "shipping address" (but leave the rep code feature available) from the form?
Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The following user(s) said Thank You: makcim makcimov
Please Log in or Create an account to join the conversation.
- Dimi Ingle
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
- Posts: 28
- Thank you received: 7
13 years 1 month ago - 13 years 1 month ago #799
by Dimi Ingle
Replied by Dimi Ingle on topic Re: Help with product categories/ shipping customizati
Thanks for the reply, Seems to be working, but not on the home/ featured page? Only on the product category. I assume I should be changing it on the home page in HTML as well?
I dont think you answered my second question?
"Then, on the categories page, how can I change it that when a reader clicks the image thumbnail from the cat they must be taken to the product, not shown the full size image? I dont mind if they can see full size image on product page, but not from the categories."
On the homepage, when a reader clicks the product or image it takes them to the page, but on the cat pages, when they click the image it takes them to the product image full view file? HOw do I change it to click to product page?
Thanks
I dont think you answered my second question?
"Then, on the categories page, how can I change it that when a reader clicks the image thumbnail from the cat they must be taken to the product, not shown the full size image? I dont mind if they can see full size image on product page, but not from the categories."
On the homepage, when a reader clicks the product or image it takes them to the page, but on the cat pages, when they click the image it takes them to the product image full view file? HOw do I change it to click to product page?
Thanks
Last edit: 13 years 1 month ago by Dimi Ingle.
The following user(s) said Thank You: makcim makcimov
Please Log in or Create an account to join the conversation.
- Linh Robert
-
- Offline
- Banned
-
Less
More
- Posts: 908
- Thank you received: 568
13 years 1 month ago #805
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Replied by Linh Robert on topic Re: Help with product categories/ shipping customizati
Hi,
1. To change "Add to cart" text to "Details.." in the frontpage (that show by mod_virtuemart_product), you need edit file templates/ot_boutiquebox/html/mod_virtuemart_product/default.php and find this code:
then replace it by:
2. Click thumbnail image in cate and it popup, click link or button will go to details -> that is VM rule. But you can do a hack (like the product module in frontpage as we done) by do this:
edit templates/ot_boutiquebox/html/com_virtuemart/category/default.php and find this code:
change to:
Thanks
1. To change "Add to cart" text to "Details.." in the frontpage (that show by mod_virtuemart_product), you need edit file templates/ot_boutiquebox/html/mod_virtuemart_product/default.php and find this code:
Code:
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_CART_ADD_TO'), array('title' => $product->product_name,'class' => 'product-details'));
Code:
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
2. Click thumbnail image in cate and it popup, click link or button will go to details -> that is VM rule. But you can do a hack (like the product module in frontpage as we done) by do this:
edit templates/ot_boutiquebox/html/com_virtuemart/category/default.php and find this code:
Code:
<div class="product-image">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'class="modal"');
?>
</div>
Code:
<div class="product-image">
<?php
$image = $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'');
echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product->virtuemart_product_id.'&virtuemart_category_id='.$product->virtuemart_category_id),$image,array('title' => $product->product_name) );
?>
</div>
Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The following user(s) said Thank You: makcim makcimov
Please Log in or Create an account to join the conversation.
- Dimi Ingle
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
- Posts: 28
- Thank you received: 7
13 years 2 days ago #1166
by Dimi Ingle
Replied by Dimi Ingle on topic Re: Help with product categories/ shipping customizati
Hi
I treid this it did not work
All it did is link the image thumbnail to the image file
How can I change it so that the thumbnail either links to the product or have no link at all?
I treid this it did not work

All it did is link the image thumbnail to the image file
Code:
// Show Products ?>
<div class="product floatleft<?php echo $Browsecellwidth . $show_vertical_separator ?>">
<div class="spacer">
<div class="ot-custom-products-page">
<div class="product-image">
<?php
$image = $product->images[0]->displayMediaThumb('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id="'.$product->product_name.'" ',true,'');
echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product->virtuemart_product_id.$product->virtuemart_category_id),$image,array('title' => $product->product_name) );
?>
</div>
How can I change it so that the thumbnail either links to the product or have no link at all?
Please Log in or Create an account to join the conversation.
- Linh Robert
-
- Offline
- Banned
-
Less
More
- Posts: 908
- Thank you received: 568
13 years 2 days ago #1168
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Replied by Linh Robert on topic Re: Help with product categories/ shipping customizati
Hi,
what file do you make change to? please change the file I mentioned and remember to upload it.
what file do you make change to? please change the file I mentioned and remember to upload it.
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds