22.11.2016 17:33
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Ask a question
Hy,
buy this addon and it is good.
Now, im my template, Ask a question is a btn button ("CHIEDI INFO" in italian) shown bottom price (see jpg ask_question_now).
I need this button alongside the btn ACQIUSTA that is a btn in product description like the jpg ask_question_need.
What can i do?
Letzte Änderung: 23.11.2016 10:22
|
|
22.11.2016 19:09
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
Change template
\components\com_jshopping\templates\default\product\product_default.php
move code
<?php print $this->_tmp_product_html_before_buttons;?>
|
|
23.11.2016 10:26
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
I remove the code yuo say from default template (also from personal tempate mjshop).
Not work like i need.
I'd like the button CHIEDI INFO near to button ACQUISTA (Button ACQUISTA is a btn in the description of the product)
Now the button of ask question is under the price.
What i need is like the attached jpg (the actual situation yuo can see in the jpg attached on the first post)
Letzte Änderung: 23.11.2016 11:08
|
|
23.11.2016 11:12
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
no delete.
only
copy <?php print $this->_tmp_product_html_before_buttons;?>
to your position
|
|
23.11.2016 11:18
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
so in my case after this?
<div class="jshop_prod_description">
<?php print $this->product->description; ?>
</div>
|
|
23.11.2016 12:08
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
Try local.
|
|
23.11.2016 12:27
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
probably not understand because not work the button of ask question is always under the opirce and not in the product description
|
|
23.11.2016 13:25
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
send me url?
ftp?
Letzte Änderung: 23.11.2016 13:26
|
|
23.11.2016 13:41
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
http://madeinporte.altervista.org/shopmadein/porta-porte-serramenti-acciaio-interno-antracite/porte-acciaio-interno-modello-beatiful.html
This is a url but here i'm not modify anything i try to do what you say in local version of my web site.
I try also to add a button with link in the description and work but so i have in the product two button (one in the product description and one under the price).
I need it near button acquista
|
|
23.11.2016 21:24
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
Ok.
Change template
\components\com_jshopping\templates\default\product\product_default.php
move code
<?php print $this->_tmp_product_html_before_buttons;?>
after
<input type="submit" class="btn btn-primary button" value="<?php print _JSHOP_ADD_TO_CART?>" onclick="jQuery('#to').val('cart');" />
Letzte Änderung: 23.11.2016 21:37
|
|
24.11.2016 10:20
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
I try this solution and i modify product_default.php of my personal template mjshop (i don't use default template) and don't work.
I have the module SIMPLE_PRODUCT too (to set the text to the right and gallery on left).
what i have to do?
Letzte Änderung: 24.11.2016 10:51
|
|
24.11.2016 11:46
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
--don't work.
???
error or ?
No other solutions.
Need change your template code.
Upload to server and send me FTP.
|
|
24.11.2016 15:02
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
Don't work.
Not error.
Published on my demo domain and send with private message user to access the ftp
|
|
24.11.2016 15:34
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
OK. Problem in your button -> "description" (no button shop)
Example
changed code
<div style="margin-left:150px;margin-top:-60px;margin-bottom:30px;">
<?php print $this->_tmp_product_html_before_buttons;?>
</div>
Letzte Änderung: 24.11.2016 15:34
|
|
24.11.2016 16:15
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
Perfect can yuo tell me what i have to do in my local copy so i change code for my local test?
PS
If yuo want the italian translation for this module i will send.
Tell me how to send if yuo want file it-IT
Letzte Änderung: 24.11.2016 16:16
|
|
24.11.2016 16:20
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25929
|
Aw: Ask a question
Copy file simple_product.php to local.
Yes. send me.
|
|
24.11.2016 16:34
|
|
alvin77
Name: Albe
23.09.2016
Posts: 57
|
Aw: Ask a question
Send with private message
|
|