Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Adding product model in different places...

    I added the product model to my right side info of the product info page by adding this code:

    Code:
    <!--bof model -->
    <id="modelproductinfo"><?php echo TEXT_PRODUCT_MODEL . $products_model; ?>
    I am wondering how to make this not stack, like it says "model", and then says the model underneath. You can see what I mean here:

    http://www (DOT) oldworldarchery (DOT) com/DEVELOPMENT/index.php?main_page=product_info&cPath=138_16_142_17&products_id=351

    I would rather it say: model: [model example] instead of putting the model underneath the word "model".

    ...man i just said the word model a lot, lol.

  2. #2
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Adding product model in different places...

    Bump for hope

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Adding product model in different places...

    Quote Originally Posted by toomanyknots View Post
    I added the product model to my right side info of the product info page by adding this code:

    Code:
    <!--bof model -->
    <id="modelproductinfo"><?php echo TEXT_PRODUCT_MODEL . $products_model; ?>
    I am wondering how to make this not stack, like it says "model", and then says the model underneath. You can see what I mean here:

    http://www (DOT) oldworldarchery (DOT) com/DEVELOPMENT/index.php?main_page=product_info&cPath=138_16_142_17&products_id=351

    I would rather it say: model: [model example] instead of putting the model underneath the word "model".

    ...man i just said the word model a lot, lol.

    Try this

    Code:
    <div id="modelproductinfo"><?php echo TEXT_PRODUCT_MODEL ; ?>&nbsp;<?php echo $products_model ; ?></div>

  4. #4
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Adding product model in different places...

    Quote Originally Posted by frank18 View Post
    Try this

    Code:
    <div id="modelproductinfo"><?php echo TEXT_PRODUCT_MODEL ; ?>&nbsp;<?php echo $products_model ; ?></div>
    Hmm, I get the same results, but it now has the same text properties as the product name.

  5. #5
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Adding product model in different places...

    Are you refreshing your cache? On my iPad, I see it all on one line.

    Lruskauff

  6. #6
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Adding product model in different places...

    Quote Originally Posted by lruskauff View Post
    Are you refreshing your cache? On my iPad, I see it all on one line.

    Lruskauff
    Hmm, yes it still is stacking for me. By the way, I am messing with the color scheme, it looks totally funky right now so sorry for the ugliness, :).

  7. #7
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Adding product model in different places...

    Quote Originally Posted by toomanyknots View Post
    Hmm, yes it still is stacking for me. By the way, I am messing with the color scheme, it looks totally funky right now so sorry for the ugliness, :).
    Please post the top part of your templates/apon_black/templates/tpl_product_info_display.php file for us to have a look at.

    Need the part from <!--bof Product Price block --> to <!--eof Attributes Module -->
    Last edited by frank18; 16 Nov 2015 at 01:00 AM.

  8. #8
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Adding product model in different places...

    Quote Originally Posted by toomanyknots View Post
    Hmm, yes it still is stacking for me. By the way, I am messing with the color scheme, it looks totally funky right now so sorry for the ugliness, :).
    Sorry, I was looking at that information under details. If I view your source I see this:
    Code:
    <!-- bof show product model in right side info -->
    <id="modelproductinfo">Model: <br /><span class="smallText">[allen nocking pliers]</span><!-- eof show product model in right side info -->
    Notice the <br/>

    See how TEXT_PRODUCT_MODEL is defined (i.e. does it contain the new line code)

 

 

Similar Threads

  1. v154 product pricing showing differently in different places.
    By delia in forum General Questions
    Replies: 2
    Last Post: 25 Apr 2016, 08:24 PM
  2. Adding different quantities for different colours of a product
    By Daydreamer2007 in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 23 Jan 2012, 09:34 PM
  3. Different shipping rate for two places
    By bebijuteria in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Dec 2009, 10:44 PM
  4. Adding different model numbers on same product
    By atljar in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 18 Sep 2006, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg